symfony/html-sanitizer vulnerabilities
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
- Registry
- Composer
- Latest
- 8.1.11
- License
- MIT
5 known advisories
The latest version, 8.1.11, is not affected by any of them. Projects on older versions may be.
composer require symfony/html-sanitizer:^8.1.11Is your project on an affected symfony/html-sanitizer?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for symfony/html-sanitizer
Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense
- Affected
- >=6.1.0 <6.4.41 · >=7.0.0 <7.4.13 · >=8.0.0 <8.0.13
- Fixed in
- 6.4.41, 7.4.13, 8.0.13
Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes
- Affected
- >=6.1.0 <6.4.41 · >=7.0.0 <7.4.13 · >=8.0.0 <8.0.13
- Fixed in
- 6.4.41, 7.4.13, 8.0.13
Symfony's HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — `javascript`: URI Survives Sanitization (XSS)
- Affected
- >=6.1.0 <6.4.40 · >=7.0.0 <7.4.12 · >=8.0.0 <8.0.12
- Fixed in
- 6.4.40, 7.4.12, 8.0.12
Symfony has an HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and <area> Misclassification
- Affected
- >=6.1.0 <6.4.40 · >=7.0.0 <7.4.12 · >=8.0.0 <8.0.12
- Fixed in
- 6.4.40, 7.4.12, 8.0.12
Symfony's HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing
- Affected
- >=6.1.0 <6.4.40 · >=7.0.0 <7.4.12 · >=8.0.0 <8.0.12
- Fixed in
- 6.4.40, 7.4.12, 8.0.12
Is your symfony/html-sanitizer version vulnerable?
- symfony/html-sanitizer 8.1No known advisories in 8.1.11
- symfony/html-sanitizer 8.0No known advisories in 8.0.14
- symfony/html-sanitizer 7.4No known advisories in 7.4.23
- symfony/html-sanitizer 7.35 advisories in 7.3.6
- symfony/html-sanitizer 7.25 advisories in 7.2.9
- symfony/html-sanitizer 7.15 advisories in 7.1.11
- symfony/html-sanitizer 7.05 advisories in 7.0.8
- symfony/html-sanitizer 6.4No known advisories in 6.4.50
- symfony/html-sanitizer 6.35 advisories in 6.3.12
- symfony/html-sanitizer 6.25 advisories in 6.2.7
- symfony/html-sanitizer 6.15 advisories in 6.1.11
Which of your client projects still run an old symfony/html-sanitizer?
NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other Composer packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.