Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app passing untrusted XML to XmlUtils::parse()
-
DeliveryCraft doctype with file:// external entity
-
ExploitSubmit XML to parse()
-
Executionlibxml resolves entity before doctype rejection
-
ImpactRead file-existence oracle, cause DoS, or exfiltrate via s3://
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the application passes untrusted/attacker-controlled XML directly into Symfony\Component\Config\Util\XmlUtils::parse() - the method's string-accepting signature permits this, but Symfony's own internal callers only consume trusted developer configuration and operator-configured translation (XLIFF) sources, so vulnerable code paths are application-specific. The default outcome is limited to a local-file-existence oracle (from the distinct 'failed to load external entity' libxml error) and a denial-of-service vector (entity pointed at a large or slow file). Actual local-file CONTENT exfiltration is further conditioned on the application having registered a network-capable stream wrapper such as s3://, since LIBXML_NONET blocks http:// but not file://, and PHP's built-in wrappers provide no outbound channel. Limiting factors: PR:L means some privilege/authentication is needed, the content is never returned to the caller (the DOM is discarded after doctype rejection), and non-default stream-wrapper registration is required for the most severe impact. |
| Impact | This is a genuinely low-priority, high-nuance issue rather than a high-CVSS alarm. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) scores only 2.3, and the vendor decision label is 'monitor', both consistent with real-world impact being marginal. The network vector is technically accurate but misleading in isolation: AT:P (attack requirement present) and the advisory's own 'Reachability is limited' section confirm the flaw is only reachable when an application passes attacker-controlled XML to XmlUtils::parse() directly - Symfony's own callers (DependencyInjection, Routing, Validator, Serializer XML loaders, XliffFileLoader, QtFileLoader, and the Loco/Crowdin/Lokalise translation providers) feed it developer- or operator-trusted input. PR:L implies some authentication/privilege, so exploitation is not fully anonymous per the vector. It is NOT in CISA KEV (status: no active exploitation confirmed) and no EPSS score was supplied, so widespread exploitation probability cannot be quantified from the data. The default impact is only a file-existence oracle plus a denial-of-service primitive; full local-file exfiltration is conditional on the application having registered a network-capable stream wrapper such as s3://. SSVC-style signals (monitor label, no KEV, limited reachability, low technical impact) all agree: patch during normal maintenance, not as an emergency. |
| Exploit ScenarioDerived | An application that exposes XmlUtils::parse() to untrusted XML (for example by passing a user- or operator-supplied XLIFF/XML document directly to it) receives a crafted document whose doctype declares a file:// external entity; because validateOnParse=true forces libxml to resolve the entity during loadXML() before the doctype is rejected, the attacker learns whether a given local path exists from the distinct libxml error and can hang the parser by pointing at a large/slow file. In an environment that has registered a network-capable stream wrapper like s3://, a parameter entity using php://filter can read a local file and ship its contents to an attacker-controlled endpoint. No standalone exploit tool is flagged in the input, though the GHSA advisory includes a demonstration payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
XML external entity (XXE) injection in the Symfony Config component's XmlUtils::parse() lets XML input trigger external entity resolution before the method rejects documents that carry a doctype, affecting releases prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23 and 8.x prior to 8.1.11. Because libxml resolves file:// entities during loadXML() and LIBXML_NONET only blocks http://, an authenticated remote attacker who can get XML into this method can confirm whether local files exist from the distinct libxml error on a missing path and cause denial of service by pointing an entity at a large or slow file; actual content exfiltration requires the application to have registered a network-capable stream wrapper such as s3://, since the parsed DOM is discarded and never returned to the caller. Exposure is application-specific: Symfony's own callers (DependencyInjection, Routing, Validator and Serializer XML loaders, XliffFileLoader, QtFileLoader and the Loco, Crowdin and Lokalise translation providers) handle trusted developer or operator-configured sources, so only applications passing untrusted XML directly to XmlUtils::parse() are in scope. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor patch removes the offending flag.
RemediationAI
Vendor-released patch: upgrade symfony/config (and symfony/symfony) to 5.4.56, 6.4.50, 7.4.23 or 8.1.11 according to your branch, as listed in advisory GHSA-5jff-8h8q-r5qx (https://github.com/symfony/symfony/security/advisories/GHSA-5jff-8h8q-r5qx) and applied by commit https://github.com/symfony/symfony/commit/334ef21a6039355c05b123e7df60699be0e28da3. The fix is a single-line removal of $dom->validateOnParse = true; doctype rejection, schema validation and error reporting are unchanged, so no application-side behavior change is expected and no side effects are introduced apart from the disappearance of the spurious 'Validation failed: no DTD found !' libxml error. Where an immediate upgrade is not possible, the effective compensating control is to stop passing untrusted or attacker-supplied XML into Symfony\Component\Config\Util\XmlUtils::parse() and to route such input through a parser configured without DTD validation, accepting that trusted configuration and XLIFF loading paths would need to keep using the component; additionally, not registering network-capable stream wrappers such as s3:// removes the outbound channel needed for local file content exfiltration, though it does not prevent the file-existence oracle or the denial-of-service outcome.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-611 (improper restriction of XML external entity reference) rooted in how Symfony\Component\Config\Util\XmlUtils::parse() configured PHP's DOM extension. The method set $dom->validateOnParse = true immediately before calling loadXML(), which makes libxml load and process the doctype during parsing, including resolving external entities declared there; only afterwards did the method reject documents carrying a doctype and throw XmlParsingException. The LIBXML_NONET parsing option blocks http:// entity URLs but not file://, so a file:// entity is read from disk before the rejection runs. The GHSA advisory demonstrates the read via libxml errors attributed to the referenced file (for example 'Premature end of data in tag root line 2 (in file:///.../invalid.xml)', 'chunk is not well balanced' and "Entity 'xxe' failed to parse"), which libxml can only emit after opening the file, and confirms that with the flag enabled an entity pointing at a readable file yields content in the DOM while a missing path yields 'failed to load external entity'. The flag was functionally redundant: it can only act on doctype-bearing documents that the method rejects unconditionally, and on doctype-less documents it merely produced a spurious 'Validation failed: no DTD found !' entry in the error buffer, while schema validation is handled separately through the $schemaOrCallable argument. This is the same defect as CVE-2026-45071 (GHSA-x6g4-fwcc-jj8w), which removed the flag from Crawler::addXmlContent() in the DomCrawler component; the Config component occurrence was not addressed at that time. The trigger path that reaches an attacker-controlled document is not described by the vendor beyond the fact that the string-accepting signature permits direct callers to supply untrusted XML.
Know when Symfony gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Network-reachable XML triggers the flaw with low complexity but PR:L reflects the privileged/trusted input path; confidentiality is limited to a file-existence oracle (C:L), no integrity impact (I:N), and DoS yields A:L.
Primary rating from Vendor (Checkmarx).
CVSS VectorVendor: Checkmarx
DescriptionCVE.org
The Symfony Config component XmlUtils::parse() enables DTD validation before rejecting documents that carry a doctype, allowing XML external entity (XXE) injection in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A remote attacker who can supply XML to this method can determine whether local files exist, cause a denial of service, and, in some configurations, exfiltrate local file content via a crafted XML document whose doctype declares an external file:// entity. XmlUtils::parse() sets $dom->validateOnParse = true before calling loadXML() and only rejects documents carrying a doctype afterwards. Enabling DTD validation makes libxml resolve external entities during loadXML(), and LIBXML_NONET blocks http:// but not file://, so a file:// entity is read from disk before the doctype rejection runs. The content of the file is not returned to the caller, but the distinct libxml error for a missing path reveals whether a file exists, and an entity pointing at a large or slow file causes a denial of service. If the application registers a network-capable stream wrapper such as s3://, a parameter entity can also send the content of a local file to an external server. This is the same issue as CVE-2026-45071, which was fixed in the DomCrawler component but not in Config.
Applications are affected if they pass untrusted XML to XmlUtils::parse() directly. The Symfony components that call it process developer-provided or operator-configured sources, such as configuration files and the XLIFF documents fetched by the translation providers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever
Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le
Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C
Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten
Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke
Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev
An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner
EUVD-2026-118384
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB