Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| composer:symfony/config | < 5.4.56 | 5.4.56 |
| composer:symfony/config | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/config | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/config | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/symfony | < 5.4.56 | 5.4.56 |
显示全部 (8)
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| composer:symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
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 r…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/02 08:04,GitHub Advisory Database 发布了“Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:PHP、Symfony。CVE:CVE-2026-123824。