Skip to content
RedCVE

CVE-2026-118517Sensiolabs Symfony vulnerability

sensiolabsPublished:

CVSS score

2.3

Low

CVSS 4.0 from 596c5446-0ce5-4ba2-aa66-48b3b757a647

Exploit probability (EPSS)

0.26%

0.26% chance of exploitation in the next 30 days, higher than 18.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: 596c5446-0ce5-4ba2-aa66-48b3b757a647

How to fix it, step by step

  1. Check whether you're affected

    Find every system running sensiolabs Symfony and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Symfony to 6.4.50, 7.4.23, 8.1.11 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
sensiolabs Symfony≥ 6.1.0, < 6.4.50 · ≥ 7.0.0, < 7.4.23 · ≥ 8.0.0, < 8.1.11

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-118517 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-118517?

CVE-2026-118517 has a CVSS 4.0 base score of 2.3 (low).

Which versions are affected?

Sensiolabs Symfony (≥ 6.1.0, < 6.4.50; ≥ 7.0.0, < 7.4.23; ≥ 8.0.0, < 8.1.11)

Is there a patch for CVE-2026-118517?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.