PT-2026-44140 · Symfony · Dom-Crawler
Published
2026-05-21
·
Updated
2026-05-27
·
CVE-2026-45071
CVSS v4.0
1.3
Low
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
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
Affected Products
Dom-Crawler