Skip to main content

Symfony Config CVE-2026-123824

| EUVDEUVD-2026-118384 LOW
Improper Restriction of XML External Entity Reference (CWE-611)
2026-11-06 Checkmarx
2.3
CVSS 4.0 · Vendor: Checkmarx
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach app passing untrusted XML to XmlUtils::parse()
  2. Delivery
    Craft doctype with file:// external entity
  3. Exploit
    Submit XML to parse()
  4. Execution
    libxml resolves entity before doctype rejection
  5. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

symfony 6.0.0 <6.4.50
symfony 8.0.0 <8.1.11
symfony 7.0.0 <7.4.23
symfony 0 <5.4.56

Affected Packages

euvd symfony fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11

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

Vendor (Checkmarx) PRIMARY 2.3 LOW
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:N/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Checkmarx).

CVSS VectorVendor: Checkmarx

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
Symfony is one of the most widely deployed enterprise PHP frameworks
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

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

CVE-2019-10910 CRITICAL POC
9.8 May 16

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

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

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

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

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

CVE-2019-11325 CRITICAL
9.8 Nov 21

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy