Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-48760

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

symfony symfony

  • >= 6.1.0, < 6.4.41affected
  • >= 7.0.0-BETA1, < 7.4.13affected
  • >= 8.0.0-BETA1, < 8.0.13affected

symfony html-sanitizer

  • >= 6.1.0, < 6.4.41affected
  • >= 7.0.0-BETA1, < 7.4.13affected
  • >= 8.0.0-BETA1, < 8.0.13affected

References