CVE-2026-45071CWE-611

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

High · published July 14, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
46.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00570 · 46.5th percentile
Weakness
CWE-611 · Improper Restriction of XML External Entity Reference
Published
2026-07-14T18:58Z
EPSS history
Timeline
  • 14 JUL 18:58Z
    Symfony: XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true
    cvelistv5