Composer symfony/html-sanitizer has 8 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.
| CVE | Title | Severity | CVSS | Affected | Fixed in |
|---|---|---|---|---|---|
| CVE-2026-121373 | HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761 | unknown | 0.0 | >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.11 | 6.4.50, 7.4.23, 8.1.11 |
| CVE-2026-45064 | Symfony's HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing | medium | 0.0 | >=6.1.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.12 | 6.4.40, 7.4.12, 8.0.12 |
| CVE-2026-45066 | Symfony has an HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and <area> Misclassification | medium | 0.0 | >=6.1.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.12 | 6.4.40, 7.4.12, 8.0.12 |
| CVE-2026-48760 | Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defens | medium | 0.0 | >=6.1.0 and <6.4.41 or >=7.0.0 and <7.4.13 or >=8.0.0 and <8.0.13 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.41 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.13 | 6.4.41, 7.4.13, 8.0.13 |
| CVE-2026-48761 | Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes | medium | 0.0 | >=6.1.0 and <6.4.41 or >=7.0.0 and <7.4.13 or >=8.0.0 and <8.0.13 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.41 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.13 | 6.4.41, 7.4.13, 8.0.13 |
| CVE-2026-118517 | CVE-2026-118517: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE- | unknown | 0.0 | >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.11 | 6.4.50, 7.4.23, 8.1.11 |
| CVE-2026-45753 | Symfony's HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — `javascript`: URI Survives Sanitization (XSS) | low | 0.0 | >=6.1.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.12 | 6.4.40, 7.4.12, 8.0.12 |
| CVE-2026-121949 | HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass | unknown | 0.0 | >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.11 | 6.4.50, 7.4.23, 8.1.11 |
Is symfony/html-sanitizer safe to use?
Version 8.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.
Is symfony/html-sanitizer being actively exploited?
None of its 8 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.
How do I check my own site?
Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.
Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended) composer require --dev phpwarden/phpwarden # then vendor/bin/phpwarden deps composer.lock # or, without Composer pipx install phpwarden && phpwarden deps composer.lock
Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are rankedMaintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.
[](https://phpwarden.io/packages/symfony/html-sanitizer)