All vulnerabilities

Servers and applications

CVE-2026-48760

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

Severity
Medium
Published
27 May 2026
Last changed
27 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
6.4.41, 7.4.13, 8.0.13
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-451CWE-1007
Also known as
GHSA-v3wm-qf9p-c549
Sources
Project advisories (GitHub)

Description

Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer::parse() rejects URLs containing raw Unicode explicit-direction BiDi formatting characters (U+202A–U+202E, U+2066–U+2069) as a defense against visual-spoofing of the rendered href. The check covers only the raw UTF-8 forms of those code points: the percent-encoded forms (%E2%80%AE for U+202E, %E2%81%A6 for U+2066, etc.) are not matched by the deny regex, survive league/uri's parse/build cycle, and are re-emitted unchanged in the sanitized URL. Any downstream consumer that decodes the link before display — phishing-detection filters that compare urldecode($href) against a domain allow-list, audit-log dashboards that show a decoded form for readability, hover-tooltip previews, federated/syndicated content where the decoder lives on the consuming side — restores the BiDi character and the visual spoof that the original defense was filed to prevent.

From symfony/symfony's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • From 6.1 before 6.4.41
  • From 7 before 7.4.13
  • From 8 before 8.0.13

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
321,952Packagist, 15 Nov 2026
Total downloads (Packagist)
88,437,595Packagist, 15 Nov 2026
GitHub stars
31,439GitHub, 15 Nov 2026
Forks
9,949GitHub, 15 Nov 2026
Latest release
v8.2.0-BETA2GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Developer
SensioLabsWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
22 Oct 2005Wikidata
First published on GitHub
4 Jan 2010GitHub

Release lines

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

References