CVE Vulnerabilities

CVE-2026-45071

Improper Restriction of XML External Entity Reference

Published: Jul 14, 2026 | Modified: Jul 15, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

NameVendorStart VersionEnd Version
SymfonySensiolabs*5.4.52 (excluding)
SymfonySensiolabs6.0.0 (including)6.4.40 (excluding)
SymfonySensiolabs7.0.0 (including)7.4.12 (excluding)
SymfonySensiolabs8.0.0 (including)8.0.12 (excluding)
SymfonyUbuntuquesting*
SymfonyUbuntuupstream*

Potential Mitigations

References