Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit HTML with crafted srcset/imagesrcset
-
DeliverySanitizer preserves unvalidated media URL
-
ExploitVictim views sanitized content
-
ExecutionBrowser fetches image from attacker host
-
ImpactAttacker logs viewer IP and user-agent
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires a specific, non-default alignment of application behavior: (1) the application must sanitize attacker-controlled HTML with Symfony HtmlSanitizer; (2) its configuration must allow the srcset attribute on img/source or the imagesrcset attribute on link[rel=preload] elements - reachable via allowSafeElements(), allowStaticElements(), or an explicit allowElement() opt-in; and (3) the application must rely on allowMediaHosts(), allowMediaSchemes(), or forceHttpsUrls() to restrict where media may load from. Limiting factors that reduce real-world risk: a viewer must actually render the sanitized content for the browser request to fire (passive user interaction); applications that do not expose these attributes or do not depend on the media allow-lists are unaffected; and the impact ceiling is viewer tracking / IP and user-agent disclosure, with no code execution, no JavaScript execution, and no integrity/availability impact to the hosting application. No authentication is needed only if the application accepts HTML from unauthenticated users (the CVSS vector lists PR:N). |
| Impact | All signals point to a genuinely low-priority issue rather than a high-CVSS/low-real-risk mismatch. The vendor-assigned CVSS 4.0 base score is 2.3 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N): network-reachable and low attack complexity, but it carries an attack requirement (AT:P) and passive user interaction (UI:P), and the vulnerable system itself suffers no confidentiality/integrity/availability impact - only the subsequent system (the viewer's browser) sees a low confidentiality/integrity effect. The vuln.today decision label is 'monitor', which is consistent with that low score; it is not act_now or emergency. This CVE is NOT in CISA KEV and no EPSS score is provided in the input, so there is no quantitative exploitation-probability or active-exploitation signal to weigh. No POC is marked as confirmed in the input, though the GitHub Security Advisory includes a short reproduction snippet demonstrating the bypass primitive. There is no SSVC exploitation/automatable/technical-impact breakdown supplied beyond the 'monitor' label. The confirmed primitive is a browser-active URL policy bypass (images loaded from disallowed hosts/schemes), explicitly NOT JavaScript execution, so the realistic worst case is viewer tracking / IP-address and user-agent logging, not compromise. Bottom line: real but minor; patch on a normal maintenance cadence. |
| Exploit ScenarioDerived | An attacker submits HTML (e.g. a forum post, comment, or message) containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
The Symfony HtmlSanitizer component fails to validate the srcset and imagesrcset attributes, so responsive-image URL candidates survive sanitization even when they point to hosts or schemes excluded by allowMediaHosts(), allowMediaSchemes() or forceHttpsUrls(). Applications running Symfony 6.1.x before 6.4.50, 7.x before 7.4.23, or 8.x before 8.1.11 that sanitize untrusted HTML and depend on the media allow-lists are affected; the same URL supplied in an img src attribute is correctly removed, which makes the bypass observable. The consequence is limited to a browser-active policy bypass: a viewer rendering the sanitized markup issues a request to an attacker-controlled host, enabling viewer tracking and IP address logging, with no JavaScript execution and no impact on application confidentiality, integrity or availability - it is rated low severity and no public exploit code has been confirmed.
RemediationAI
Vendor-released fixes are available: upgrade to Symfony 6.4.50, 7.4.23 or 8.1.11 (the html-sanitizer package follows the same branch versions), applying the upstream commit 9da387d0ddbf506eebd5d9e928bfd4f8f455d8b9 or the reference commit 50e7a38a8f088601c09669b9d267c9c0228884e1, and additionally apply the companion patch for CVE-2026-118517 (commit f2f47d2eef6c2552c6c5c24953caa94f7901cb43), without which a candidate lacking a double slash such as http:evil.example/a.png is still not checked against the media host allow-list. If an immediate upgrade is not possible, remove srcset from img/source and imagesrcset from link element attribute allow-lists in the sanitizer configuration so the unvalidated values are dropped rather than preserved, at the cost of losing responsive-image support in the sanitized output, and do not rely on the media allow-lists alone for those attributes; applications that never enable these attributes or that do not depend on the media scheme/host allow-lists are unaffected. Details are in the vendor advisory at https://github.com/symfony/symfony/security/advisories/GHSA-q8jq-xrf4-v5j8.
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 an incomplete list of covered cases (CWE-184, with the advisory also classifying it as CWE-1023), located in the URL attribute sanitizer of the Symfony HtmlSanitizer component. W3CReference::ATTRIBUTES marks srcset and imagesrcset as allowed attributes, but UrlAttributeSanitizer::getSupportedAttributes() never registers them, and the DOM visitor preserves any attribute value verbatim when no sanitizer handles it. Consequently the media policy is applied to img[src], source[src] and link[href] but not to the comma-separated candidate lists used by img[srcset], source[srcset] and link[rel=preload][imagesrcset]. The official fix parses the value using the HTML srcset parsing rules - handling commas inside URLs and inside descriptor parentheses, normalizing descriptor whitespace, and treating an unterminated parenthesis as consuming the remainder of the value - then runs each candidate URL through UrlSanitizer::sanitize() against the media policy, drops rejected candidates, re-serializes surviving candidates with their width/density descriptors, and removes the attribute entirely if no candidate survives, matching how a rejected src is handled. The fix depends on the patch for CVE-2026-118517; without that companion fix, a candidate written without a double slash (for example http:evil.example/a.png) is not checked against the media host allow-list. The advisory explicitly notes that the confirmed primitive is a browser-active URL policy bypass, not JavaScript execution.
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:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Config-dependent (srcset allowed plus reliance on media allow-lists) → AC:H; no privileges needed → PR:N; victim must view content → UI:R; cross-component browser request leaking viewer IP → S:C with only low confidentiality/integrity impact.
Primary rating from Vendor (Checkmarx).
CVSS VectorVendor: Checkmarx
DescriptionCVE.org
The Symfony HtmlSanitizer component does not apply the media URL policy to the srcset and imagesrcset attributes, allowing values that point to hosts or schemes not permitted by allowMediaSchemes() or allowMediaHosts() to bypass it, so that browsers load images from disallowed hosts in Symfony versions 6.1.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11.The srcset attribute on img and source elements and the imagesrcset attribute on link elements are allowed by the sanitizer, but their URL candidates are never validated, so their values are kept verbatim while the same URL in src is dropped. The fixes for CVE-2026-45753 and CVE-2026-48761 extended the same attribute list but did not cover these two attributes. For example, with allowMediaSchemes(['https']) and allowMediaHosts(['trusted.example']), <img srcset="https://evil.example/a.png 1x"> survives sanitization, and the browser fetches the selected candidate as it would fetch src. Candidates with a scheme forbidden by the configuration, such as http, are kept as well. Any application that sanitizes untrusted HTML and relies on the media schemes and hosts allowlists to restrict where images can be loaded from is affected. A single crafted value is enough to make the browser of a user viewing the sanitized content send a request to an attacker-controlled host, which can be used to track viewers or log their IP addresses. No authentication is needed if the application accepts HTML from unauthenticated users.
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
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-117624
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB