Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-121949

published low CVSS 4.0 · 2.3

Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass

Published
05 Nov 2026, 17:46:04 UTC
Updated
05 Nov 2026, 19:59:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
sensiolabs — symfony/html-sanitizersymfony · 6.1.0 to < 6.4.50 · 7.0.0 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected Affected Not stated Checkmarx
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie symfony Advisory build 6.4.50+dfsg-0+deb13u1 DSA-6617-1

Description

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.

en · Checkmarx · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
2.3 / 10
Severity
low
Provider
Checkmarx · cna
Vector string
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
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.4 medium CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
sensiolabs symfony 6.1.0 to < 6.4.50 (affected · git)7.0.0 to < 7.4.23 (affected · git)8.0.0 to < 8.1.11 (affected · git)Default: unaffected Checkmarx · cna

Weaknesses

2
  • CWE-184 CWE-184 Incomplete list of disallowed inputs (Checkmarx · cna)
  • CWE-1023 CWE-1023 Incomplete Comparison with Missing Factors (Checkmarx · cna)

References

2

Provider assertions

2

Checkmarx · cna

Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
044d5f6f77ce1a2c17eae92b7473779ab3b4643e0a91b002f654f9d51fca5201
Ingested
07 Nov 2026, 23:40:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected