Intel

AIKIDO-2026-10872

symfony/html-sanitizer is vulnerable to User Interface (UI) Misrepresentation of Critical Information

User Interface (UI) Misrepresentation of Critical InformationCVE-2026-45064 Published May 21, 2026

61

Medium Risk

This Affects:

PHPsymfony/html-sanitizer
6.1.0 - 6.4.39
Fixed in 6.4.40
7.0.0 - 7.4.11
Fixed in 7.4.12
8.0.0 - 8.0.11
Fixed in 8.0.12
Are you affected? Scan for Free

TL;DR

UrlSanitizer allows explicit-direction Unicode BiDi formatting characters in sanitized URL attributes. Those characters can change the visual order of link text or URLs in rendered HTML. Pre-fix sanitized content can display a destination differently from the real link target, enabling phishing-style spoofing. The fix rejects URLs containing those BiDi control characters.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

symfony/html-sanitizer is vulnerable to User Interface (UI) Misrepresentation of Critical Information in versions 6.1.0 - 6.4.39, 7.0.0 - 7.4.11 and 8.0.0 - 8.0.11.

How to fix this

Upgrade the symfony/html-sanitizer and/or symfony/symfony library to the patch version.