CISA list

● Composer package

symfony/html-sanitizer

Symfony/html-sanitizer has eight security advisories. The newest release any of them names as the fix is 8.1.11.

As of , symfony/html-sanitizer has eight security advisories. The newest release any of them names as the fix is 8.1.11.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 8.0.0 before 8.1.118.1.118 advisories
From 7.0.0 before 7.4.237.4.238 advisories
From 6.1.0 before 6.4.506.4.508 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-118517CVE-2026-118517: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066From 8.0.0 before 8.1.11; From 7.0.0 before 7.4.23; From 6.1.0 before 6.4.506.4.50, 7.4.23, 8.1.11
CVE-2026-121373HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761From 8.0.0 before 8.1.11; From 7.0.0 before 7.4.23; From 6.1.0 before 6.4.506.4.50, 7.4.23, 8.1.11
CVE-2026-121949HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List BypassFrom 8.0.0 before 8.1.11; From 7.0.0 before 7.4.23; From 6.1.0 before 6.4.506.4.50, 7.4.23, 8.1.11
CVE-2026-48760GHSA-v3wm-qf9p-c549Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing DefenseModerate severityFrom 8.0.0 before 8.0.13; From 7.0.0 before 7.4.13; From 6.1.0 before 6.4.416.4.41, 7.4.13, 8.0.13
CVE-2026-48761GHSA-x5qj-865h-mgvmSymfony: HtmlSanitizer UrlAttributeSanitizer Misses URL AttributesModerate severityFrom 8.0.0 before 8.0.13; From 7.0.0 before 7.4.13; From 6.1.0 before 6.4.416.4.41, 7.4.13, 8.0.13
CVE-2026-45064GHSA-h5vq-qfcg-4m6pSymfony's HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href SpoofingModerate severityFrom 8.0.0 before 8.0.12; From 7.0.0 before 7.4.12; From 6.1.0 before 6.4.406.4.40, 7.4.12, 8.0.12
CVE-2026-45753GHSA-hhg7-c65m-h7ffSymfony's HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite, `javascript`: URI Survives Sanitization (XSS)Low severityFrom 8.0.0 before 8.0.12; From 7.0.0 before 7.4.12; From 6.1.0 before 6.4.406.4.40, 7.4.12, 8.0.12
CVE-2026-45066GHSA-qc95-4862-92fhSymfony has an HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and <area> MisclassificationModerate severityFrom 8.0.0 before 8.0.12; From 7.0.0 before 7.4.12; From 6.1.0 before 6.4.406.4.40, 7.4.12, 8.0.12

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0