PT-2026-44140 · Symfony · Dom-Crawler

Published

2026-05-21

·

Updated

2026-05-27

·

CVE-2026-45071

CVSS v4.0

1.3

Low

VectorAV: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

Weakness Enumeration

Related Identifiers

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

Affected Products

Dom-Crawler