PT-2026-44140 · Symfony · Dom-Crawler

CVE-2026-45071

·

Published

2026-05-21

·

Updated

2026-07-17

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions symfony/dom-crawler (affected versions not specified)
Description The Crawler::addXmlContent() function in symfony/dom-crawler sets DOMDocument::$validateOnParse to true before calling loadXML(). This action re-enables libxml's DTD subset processing, which allows for external entity resolution. While LIBXML NONET is used to block network fetches, it does not prevent the resolution of file:// entities. Consequently, an attacker can provide a crafted XML document containing a SYSTEM "file:///etc/passwd" entity to achieve local file disclosure.
Recommendations Update to a version where the Crawler::addXmlContent() method no longer sets the validateOnParse flag.

Exploit

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-45071
GHSA-X6G4-FWCC-JJ8W

Affected Products

Dom-Crawler