XML External Entity injection in Symfony - CVE-2026-123824
Published: December 1, 2026
Vulnerability details
The vulnerability allows a remote user to determine whether local files exist, disclose local file contents under certain configurations, or cause a denial of service.
The vulnerability exists due to improper restriction of XML external entity references in Symfony Config's XmlUtils::parse() when an application passes untrusted XML directly to the method. DTD validation causes libxml to resolve external entities before the method rejects the document type declaration. A remote user can submit XML to trigger this premature resolution and infer file existence from parser errors, conditionally disclose file contents, or disrupt parsing.
Disclosure of file contents requires a network-capable stream wrapper registered by the application.