Home / sensiolabs / symfony / CVE-2026-118517
CVE-2026-118517: is it exploited, and which versions of sensiolabs symfony are affected and fixed?
CVE-2026-118517 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-c76g-9c4c-gxrw). Fixed in 6.4.50, 7.4.23 and 8.1.11 (GitHub advisory GHSA-c76g-9c4c-gxrw). 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-118517?
Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority (Incomplete Fix for CVE-2026-45066)
The Symfony HtmlSanitizer component UrlSanitizer parses URLs differently from browsers, allowing the allowLinkHosts() and allowMediaHosts() checks to be bypassed for URLs without a well-formed authority, resulting in untrusted hosts being referenced in sanitized output 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. UrlSanitizer parses URLs with league/uri, which follows RFC 3986, while browsers follow the WHATWG URL standard. For URLs without a well-formed authority, such as http:evil.example, ///evil.example, or https://://evil.example/ the sanitizer finds no host, whereas browsers resolve them to evil.example. The guard added for CVE-2026-45066 missed the zero-slash form, and the host 0 was also skipped because PHP treats it as falsy. This is exploitable when a host allow-list is combined with allowRelativeLinks(true) or allowRelativeMedias(true). The default configuration is not affected.
From the CVE record by Checkmarx, last updated November 5, 2026, 16:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sensiolabs | symfony symfony/http-client | 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-c76g-9c4c-gxrw |
| Packagist | symfony/html-sanitizer | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-c76g-9c4c-gxrw |
| Packagist | symfony/html-sanitizer | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-c76g-9c4c-gxrw |
| Packagist | symfony/symfony | >= 6.1.0, < 6.4.50 | 6.4.50 | GHSA-c76g-9c4c-gxrw |
| Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-c76g-9c4c-gxrw |
| Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-c76g-9c4c-gxrw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066.
How severe is CVE-2026-118517?
| 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:L/VA:N/SC:N/SI:N/SA:N | Checkmarx |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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-118517 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.3 (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-c76g-9c4c-gxrw third-party-advisory
- https://github.com/symfony/symfony/commit/f2f47d2eef6c2552c6c5c24953caa94f7901cb43 patch
Who found and reported it?
- Nicolas Grekas (remediation developer)
- Ilia Alshanetsky (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 28, 2026
- Published
- November 5, 2026, 16:26 UTC
- CVE record updated
- November 5, 2026, 16:52 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-118517
Is CVE-2026-118517 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.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sensiolabs symfony are affected by CVE-2026-118517?
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-c76g-9c4c-gxrw. The tables above give every range the sources list.
Which version fixes CVE-2026-118517?
6.4.50, 7.4.23 and 8.1.11, per the GitHub advisory GHSA-c76g-9c4c-gxrw. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-118517?
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-118517?
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.