Packagist (PHP)Worst: Moderate5 advisories
symfony/html-sanitizer: known vulnerabilities
symfony/html-sanitizer has 5 reviewed security advisories in the GitHub Advisory Database — 4 moderate, 1 low. The most recent was published 2026-06-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the symfony/html-sanitizer versions running across your servers, containers and images, and ranks what to patch first.
How to fix symfony/html-sanitizer
Upgrade symfony/html-sanitizer to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):
composer require symfony/html-sanitizer:^8.0.13 (composer audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (5)
Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense
Moderate CWE-1007 CWE-451
— Affected: from 8.0.0 up to 8.0.13. Fixed in 8.0.13. Published 2026-06-15. GHSA-v3wm-qf9p-c549 · CVE-2026-48760
Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes
Moderate CWE-1023 CWE-79
— Affected: from 8.0.0 up to 8.0.13. Fixed in 8.0.13. Published 2026-06-15. GHSA-x5qj-865h-mgvm · CVE-2026-48761
Symfony's HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — `javascript`: URI Survives Sanitization (XSS)
Low CWE-184 CWE-79
— Affected: from 8.0.0 up to 8.0.12. Fixed in 8.0.12. Published 2026-05-28. GHSA-hhg7-c65m-h7ff · CVE-2026-45753
Symfony's HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing
Moderate CWE-1007 CWE-451
— Affected: from 8.0.0 up to 8.0.12. Fixed in 8.0.12. Published 2026-05-27. GHSA-h5vq-qfcg-4m6p · CVE-2026-45064
Symfony has an HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and <area> Misclassification
Moderate CWE-184 CWE-436
— Affected: from 8.0.0 up to 8.0.12. Fixed in 8.0.12. Published 2026-05-27. GHSA-qc95-4862-92fh · CVE-2026-45066
Find symfony/html-sanitizer across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.