Skip to main content
← All vulnerabilities
CVE-2026-45071GHSA-X6G4-FWCC-JJ8W

Symfony: XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.52, 6.4.40, 7.4.12, 8.0.12
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • symfony symfony

    fixed in 5.4.52; From 6.0.0-BETA1 · fixed in 6.4.40; From 7.0.0-BETA1 · fixed in 7.4.12; From 8.0.0-BETA1 · fixed in 8.0.12

  • symfony dom-crawler

    fixed in 5.4.52; From 6.0.0-BETA1 · fixed in 6.4.40; From 7.0.0-BETA1 · fixed in 7.4.12; From 8.0.0-BETA1 · fixed in 8.0.12

  • symfony/dom-crawlerPackagist

    fixed in 5.4.52

  • symfony/symfonyPackagist

    fixed in 5.4.52

  • symfony/dom-crawlerPackagist

    From 6.0.0 · fixed in 6.4.40

  • symfony/dom-crawlerPackagist

    From 7.0.0 · fixed in 7.4.12

  • symfony/dom-crawlerPackagist

    From 8.0.0 · fixed in 8.0.12

  • symfony/symfonyPackagist

    From 6.0.0 · fixed in 6.4.40

  • symfony/symfonyPackagist

    From 7.0.0 · fixed in 7.4.12

  • symfony/symfonyPackagist

    From 8.0.0 · fixed in 8.0.12

References 7

GitHub · symfony/symfony

GitHub · bozellqp/zk-xml-probe