Intel

AIKIDO-2026-10871

symfony/html-sanitizer is vulnerable to Interpretation Conflict

Interpretation ConflictCVE-2026-45066 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

allowLinkHosts() and allowMediaHosts() rely on URL parsing that differs from browser URL handling. Backslashes, unusual slash counts, and area element handling can make a URL pass server-side allowlists while navigating elsewhere in the browser. Pre-fix sanitized content can smuggle off-allowlist link or media targets. The fix rejects parser-differential URL forms and applies link policy to area elements.

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 Interpretation Conflict 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.