CVE-2026-48760

Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense

State
Published
Severity
5.3 Medium
Published
Jul 14, 2026
Updated
Jul 15, 2026
Reserved
May 22, 2026

Read the record on cve.org

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0 until 6.4.41, 7.4.13, and 8.0.13, UrlSanitizer::parse() rejected raw BiDi formatting characters but not percent-encoded forms and used an ASCII-only whitespace check, allowing sanitized URLs to retain visual-spoofing characters that downstream consumers could decode or display. This issue is fixed in versions 6.4.41, 7.4.13, and 8.0.13.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-451 User Interface (UI) Misrepresentation of Critical Information
  • CWE-1007 Insufficient Visual Distinction of Homoglyphs Presented to User

Affected Products

ProductVersions
symfonysymfony
  • >= 6.1.0, < 6.4.41Affected
  • >= 7.0.0-BETA1, < 7.4.13Affected
  • >= 8.0.0-BETA1, < 8.0.13Affected
html-sanitizersymfony
  • >= 6.1.0, < 6.4.41Affected
  • >= 7.0.0-BETA1, < 7.4.13Affected
  • >= 8.0.0-BETA1, < 8.0.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.