CVE Catalog

CVE-2026-45071

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

37th percentile - higher than 37% of all known CVEs

Summary

A vulnerability in Symfony allows XML External Entity (XXE) injection when processing XML via the Crawler::addXmlContent() method. Setting DOMDocument::$validateOnParse = true before loadXML() re-enables external entity resolution, allowing an attacker to read local files using file:// entities.

Risk Assessment

An attacker can exploit this vulnerability to read sensitive files on the server, such as configurations, passwords, or user data, leading to a breach of data confidentiality.

Recommendation

Immediately upgrade Symfony to versions 5.4.52, 6.4.40, 7.4.12, or 8.0.12 depending on the branch used. If an upgrade is not possible, avoid using the Crawler::addXmlContent() method with untrusted XML.

Other vulnerabilities in Symfony

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS