{"id":"CVE-2026-45071","published":"2026-07-14T18:58:15Z","modified":"2026-07-15T14:21:08Z","title":"Symfony: XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, Crawler::addXmlContent() set DOMDocument::$validateOnParse = true before loadXML(), re-enabling external entity resolution and allowing attacker-supplied XML to expand file:// entities such as local files. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00572,"percentile":0.48195,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-x6g4-fwcc-jj8w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/eea5fd7488cbdc241da4ce242344b7d9a3ecdf3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-29","earliestUrl":"https://github.com/bozellqp/zk-xml-probe","repos":[{"name":"bozellqp/zk-xml-probe","url":"https://github.com/bozellqp/zk-xml-probe","stars":0,"created":"2026-08-29"}]},"first":{"date":"2026-08-29","source":"PoC-in-GitHub","url":"https://github.com/bozellqp/zk-xml-probe"},"provenance":"source"},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]},{"vendor":"symfony","product":"dom-crawler","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T14:20:58.181356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/dom-crawler","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-x6g4-fwcc-jj8w"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-x6g4-fwcc-jj8w"],"provenance":"source"}],"summary":{"text":"Symfony's DomCrawler component, specifically Crawler::addXmlContent(), contains an XML external entity (XXE) flaw in releases before 5.4.52, 6.4.40, 7.4.12, and 8.0.12, where setting validateOnParse to true before parsing re-enables external entity resolution. An attacker who can supply XML content to the affected method, over the network and without authentication or user interaction, can read local files on the server through file:// entities, with high confidentiality impact and no integrity or availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:25Z"},"euvd":{"id":"EUVD-2026-44368","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2026-45071","to":"CVE-2026-123824","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is the same issue as CVE-2026-45071, which was fixed in the DomCrawler component but not in Config.","from":"CVE.org","in":"CVE-2026-123824"}]}]}}