# symfony/html-sanitizer (Packagist) vulnerabilities

7 known vulnerabilities (3 medium, 4 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://packagist.org/packages/symfony/html-sanitizer

## Advisories (7)

### [CVE-2026-121949](https://cve.now/CVE-2026-121949): Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List Bypass

- Severity: Low 2.3
- Published: Nov 5, 2026
- Affected: from 6.1.0, fixed in 6.4.50; from 7.0.0, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11.

### [CVE-2026-121373](https://cve.now/CVE-2026-121373): Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for…

- Severity: Medium 5.3
- Published: Nov 4, 2026
- Affected: from 6.1.0, fixed in 6.4.50; from 7.0.0, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11.

### [CVE-2026-48761](https://cve.now/CVE-2026-48761): Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes on \<object\>, \<applet\>, \<iframe\>, \<img\> and the URL Inside \<meta…

- Severity: Medium 5.3
- Published: Jul 14, 2026
- Affected: from 6.1.0, fixed in 6.4.41; from 7.0.0, fixed in 7.4.13; from 8.0.0, fixed in 8.0.13.

### [CVE-2026-48760](https://cve.now/CVE-2026-48760): Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing…

- Severity: Medium 5.3
- Published: Jul 14, 2026
- Affected: from 6.1.0, fixed in 6.4.41; from 7.0.0, fixed in 7.4.13; from 8.0.0, fixed in 8.0.13.

### [CVE-2026-45064](https://cve.now/CVE-2026-45064): Symfony: HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing

- Severity: Low 2.3
- Published: Jul 14, 2026
- Affected: from 6.1.0, fixed in 6.4.40; from 7.0.0, fixed in 7.4.12; from 8.0.0, fixed in 8.0.12.

### [CVE-2026-45753](https://cve.now/CVE-2026-45753): Symfony: HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — javascript: URI Survives Sanitization (XSS)

- Severity: Low 2.1
- Published: Jul 14, 2026
- Affected: from 6.1.0, fixed in 6.4.40; from 7.0.0, fixed in 7.4.12; from 8.0.0, fixed in 8.0.12.

### [CVE-2026-45066](https://cve.now/CVE-2026-45066): Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and \<area\> Misclassification

- Severity: Low 2.3
- Published: Jul 14, 2026
- Affected: from 6.1.0, fixed in 6.4.40; from 7.0.0, fixed in 7.4.12; from 8.0.0, fixed in 8.0.12.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/packagist/symfony/html-sanitizer
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
