{"id":"CVE-2026-45071","state":"PUBLISHED","title":"Symfony: XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true","description":"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.","publishedAt":"2026-07-14T18:58:15.162Z","updatedAt":"2026-07-15T14:21:08.891Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["symfony symfony","symfony dom-crawler"],"affected":[{"vendor":"symfony","product":"symfony","versions":[{"version":"< 5.4.52","status":"affected"},{"version":">= 6.0.0-BETA1, < 6.4.40","status":"affected"},{"version":">= 7.0.0-BETA1, < 7.4.12","status":"affected"},{"version":">= 8.0.0-BETA1, < 8.0.12","status":"affected"}]},{"vendor":"symfony","product":"dom-crawler","versions":[{"version":"< 5.4.52","status":"affected"},{"version":">= 6.0.0-BETA1, < 6.4.40","status":"affected"},{"version":">= 7.0.0-BETA1, < 7.4.12","status":"affected"},{"version":">= 8.0.0-BETA1, < 8.0.12","status":"affected"}]}],"references":["https://github.com/symfony/symfony/security/advisories/GHSA-x6g4-fwcc-jj8w","https://github.com/symfony/symfony/commit/eea5fd7488cbdc241da4ce242344b7d9a3ecdf3d","https://github.com/symfony/symfony/releases/tag/v5.4.52","https://github.com/symfony/symfony/releases/tag/v6.4.40","https://github.com/symfony/symfony/releases/tag/v7.4.12","https://github.com/symfony/symfony/releases/tag/v8.0.12"],"weaknesses":["CWE-611"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45071.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45071","state":"PUBLISHED","datePublished":"2026-07-14T18:58:15.162Z","dateUpdated":"2026-07-15T14:21:08.891Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-08T18:45:10.096Z"},"containers":{"cna":{"title":"Symfony: XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"symfony","product":"symfony","versions":[{"version":"< 5.4.52","status":"affected"},{"version":">= 6.0.0-BETA1, < 6.4.40","status":"affected"},{"version":">= 7.0.0-BETA1, < 7.4.12","status":"affected"},{"version":">= 8.0.0-BETA1, < 8.0.12","status":"affected"}]},{"vendor":"symfony","product":"dom-crawler","versions":[{"version":"< 5.4.52","status":"affected"},{"version":">= 6.0.0-BETA1, < 6.4.40","status":"affected"},{"version":">= 7.0.0-BETA1, < 7.4.12","status":"affected"},{"version":">= 8.0.0-BETA1, < 8.0.12","status":"affected"}]}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-x6g4-fwcc-jj8w","name":"https://github.com/symfony/symfony/security/advisories/GHSA-x6g4-fwcc-jj8w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/eea5fd7488cbdc241da4ce242344b7d9a3ecdf3d","name":"https://github.com/symfony/symfony/commit/eea5fd7488cbdc241da4ce242344b7d9a3ecdf3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","name":"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","name":"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","name":"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","name":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-611","lang":"en","description":"CWE-611: Improper Restriction of XML External Entity Reference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-14T18:58:15.162Z"},"source":{"advisory":"GHSA-x6g4-fwcc-jj8w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T14:20:58.181356Z","id":"CVE-2026-45071","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T14:21:08.891Z"}}]}}}