Skip to main content
CVE-2026-121949VulnerabilityPublished Updated

The Symfony HtmlSanitizer component does not apply the media URL policy to the srcset and imagesrcset attributes

Affects symfonySource GCVE Database

0
Compare
Authoritative record:CVE-2026-121949· Low 2.3

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

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Contested

Scorers differ by 2 or more points
CVSS scores by source
CNA (Checkmarx)CVSS 4.02.3
CISA-ADPCVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10symfonypkg:deb/ubuntu/symfony?arch=source&distro=stonkingOther threatsAffected
  • 7.4.7+dfsg-1ubuntu1 – 7.4.16+dfsg-1ubuntu2
6 affected builds
Fixed in–
Ubuntu 26.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=resoluteOther threatsAffected
  • 6.4.24+dfsg-1 – 7.4.7+dfsg-1ubuntu1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 5.4.23+dfsg-1ubuntu1 – 6.4.5+dfsg-3ubuntu3+esm1
5 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =5.2.6+dfsg-1ubuntu7
  • =5.4.4+dfsg-1ubuntu8
  • =5.4.4+dfsg-1ubuntu8+esm1
Fixed in–
Ubuntu Pro 20.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalOther threatsAffected
  • 4.3.4+dfsg-1ubuntu1 – 4.3.8+dfsg-1ubuntu1+esm2
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.8.7+dfsg-1.3ubuntu1 – 3.4.6+dfsg-1ubuntu0.1+esm2
6 affected builds
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.

References

Community reviews

Loading reviews…