Advisories for Composer/Symfony/Config package

2026

Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true

Symfony\Component\Config\Util\XmlUtils::parse() sets $dom->validateOnParse = true immediately before calling loadXML(), and only rejects documents carrying a doctype afterwards. Enabling DTD validation makes libxml load and process the doctype during loadXML(), which includes resolving external entities. LIBXML_NONET blocks http:// but not file://, so a file:// entity is read from disk before the doctype rejection can run. This is the same defect as CVE-2026-45071 (GHSA-x6g4-fwcc-jj8w), which removed the flag from Crawler::addXmlContent() in the …