{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-11991 exists.","fix":"No fix has been published for CVE-2020-11991 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-11991 is a high-severity vulnerability in Apache Cocoon, published on 11 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-11991 and fix it if it is affected.\n\nWhat it is: CVE-2020-11991 is a high-severity vulnerability in Apache Cocoon, published on 11 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-11991 exists.\n\nAffected product: Apache Cocoon. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-11991/ (Markdown: https://insights.sbomify.com/CVE-2020-11991/index.md)","id":"CVE-2020-11991","markdown":"https://insights.sbomify.com/CVE-2020-11991/index.md","name":"CVE-2020-11991","record":{"aliases":["GHSA-586v-g7r5-mhgp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Cocoon","requires_auth":"none","summary":"An attacker can exploit an XML External Entity vulnerability in Apache Cocoon's StreamGenerator to read arbitrary files from the server.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cocoon","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"When using the StreamGenerator, the code parse a user-provided XML. A specially crafted XML, including external system entities, could be used to access any file on the server system.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-11991.yaml","stars":null,"title":"Apache Cocoon 2.1.12 - XML Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"XML external entity in Apache Cocoon","id":"CVE-2020-11991","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xxe","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2020-11992"},"packages":[],"prev":{"headline":"Information disclosure in Apache Cordova ( cordova-plugin-camera )","id":"CVE-2020-11990"},"products":["Apache Cocoon"],"published":"2020-09-11","related":[{"cvss_score":9.8,"headline":"Apache Cocoon: SQL injection in DatabaseCookieAuthenticatorAction","id":"CVE-2022-45135","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":9.8,"headline":"Apache Cocoon's StreamGenerator is vulnerable to XXE injection","id":"CVE-2023-49733","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":7.5,"headline":"Apache Cocoon: continuations may not be private","id":"CVE-2025-24783","kev_date_added":null,"published":"2025-01-27"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2003-1172","kev_date_added":null,"published":"2005-05-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can exploit an XML External Entity vulnerability in Apache Cocoon's StreamGenerator to read arbitrary files from the server.","url":"https://insights.sbomify.com/CVE-2020-11991/"}