The Symfony HtmlSanitizer component does not apply the media URL policy to the srcset and imagesrcset attributes
Affects symfonySource GCVE Database
Not known to be exploited · CVSS 2.3 Low · fixed in 6.4.50 : update symfony when convenient.
Data as of 18 Nov 2026, 20:25 UTC
Contested
Scorers differ by 2 or more points| CNA (Checkmarx) | CVSS 4.0 | 2.3 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 5.4 |
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.4.50
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10symfonypkg:deb/ubuntu/symfony?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Symfony versions 6.4.50, 7.4.23, and 8.1.11 that properly applies media URL policies to the srcset and imagesrcset attributes. Users should upgrade to these or later versions to remediate this vulnerability. Until patched, applications should avoid relying solely on allowMediaSchemes() and allowMediaHosts() for filtering image sources in sanitized HTML or implement additional validation for srcset and imagesrcset attributes.
Description
The Symfony HtmlSanitizer component in versions 6.1.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11 does not apply the media URL policy to the srcset and imagesrcset attributes. This allows these attributes to contain URLs pointing to hosts or schemes not permitted by the configured allowMediaSchemes() or allowMediaHosts(), enabling browsers to load images from disallowed hosts. This can lead to user tracking or IP address logging without authentication if untrusted HTML is sanitized relying on these allowlists.