Home / sensiolabs / symfony / CVE-2026-121949
CVE-2026-121949: is it exploited, and which versions of sensiolabs symfony are affected and fixed?
CVE-2026-121949 is an incomplete List of Disallowed Inputs vulnerability in sensiolabs symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: symfony/html-sanitizer from 6.1.0 before 6.4.50, symfony/html-sanitizer from 7.0.0 before 7.4.23, symfony/html-sanitizer from 8.0.0 before 8.1.11 and 3 more (GitHub advisory GHSA-q8jq-xrf4-v5j8). Fixed in 6.4.50, 7.4.23 and 8.1.11 (GitHub advisory GHSA-q8jq-xrf4-v5j8). Severity: Low (2.3, CVSS 4.0, from Checkmarx).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-121949?
Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass
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.
From the CVE record by Checkmarx, last updated November 5, 2026, 19:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sensiolabs | symfony symfony/html-sanitizer | not stated |
As the CVE record by Checkmarx states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/html-sanitizer | >= 6.1.0, < 6.4.50 | 6.4.50 | GHSA-q8jq-xrf4-v5j8 |
| Packagist | symfony/html-sanitizer | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-q8jq-xrf4-v5j8 |
| Packagist | symfony/html-sanitizer | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-q8jq-xrf4-v5j8 |
| Packagist | symfony/symfony | >= 6.1.0, < 6.4.50 | 6.4.50 | GHSA-q8jq-xrf4-v5j8 |
| Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-q8jq-xrf4-v5j8 |
| Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-q8jq-xrf4-v5j8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset Leading to Media Scheme and Host Allow-List Bypass.
How severe is CVE-2026-121949?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.3 | CVSS 4.0 | 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 | Checkmarx |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-121949 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/symfony/symfony/security/advisories/GHSA-q8jq-xrf4-v5j8 third-party-advisory
- https://github.com/symfony/symfony/commit/50e7a38a8f088601c09669b9d267c9c0228884e1 patch
Who found and reported it?
- Shriyansh Gupta (reporter)
- Ilia Alshanetsky (reporter)
- 李智遥 (reporter)
- Nicolas Grekas (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 4, 2026
- Published
- November 5, 2026, 17:46 UTC
- CVE record updated
- November 5, 2026, 19:59 UTC by Checkmarx
- NVD
- Awaiting Analysis, last modified November 6, 2026, 21:40 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect symfony?
- Nov 12, 2026CVE-2026-121619 sensiolabs symfony: authentication bypass by spoofing
- Nov 6, 2026CVE-2026-123824 sensiolabs symfony: XML external entity (XXE)
- Nov 6, 2026CVE-2026-122053 sensiolabs symfony: mass assignment
- Nov 6, 2026CVE-2026-118515 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-121623 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-123792 sensiolabs symfony: denial of service through slow algorithm
- Nov 6, 2026CVE-2026-123339 sensiolabs symfony: use of Less Trusted Source
- Nov 6, 2026CVE-2026-123746 sensiolabs symfony: authentication bypass through another path
Questions about CVE-2026-121949
Is CVE-2026-121949 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sensiolabs symfony are affected by CVE-2026-121949?
symfony/html-sanitizer from 6.1.0 before 6.4.50, symfony/html-sanitizer from 7.0.0 before 7.4.23, symfony/html-sanitizer from 8.0.0 before 8.1.11, symfony/symfony from 6.1.0 before 6.4.50, symfony/symfony from 7.0.0 before 7.4.23 and symfony/symfony from 8.0.0 before 8.1.11, per the GitHub advisory GHSA-q8jq-xrf4-v5j8. The tables above give every range the sources list.
Which version fixes CVE-2026-121949?
6.4.50, 7.4.23 and 8.1.11, per the GitHub advisory GHSA-q8jq-xrf4-v5j8. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-121949?
Low (2.3, CVSS 4.0, from Checkmarx). The severity table above shows each score with its source.
Where is the official record of CVE-2026-121949?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.