CVE-2022-36020
published medium CVSS 3.1 · 6.1Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TYPO3 | — | html-sanitizer>= 1.0.0, < 1.0.7 · >= 2.0.0, < 2.0.16 | Affected | Not stated | GitHub_M |
Description
The typo3/html-sanitizer package is an HTML sanitizer, written in PHP, aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values. Due to a parsing issue in the upstream package `masterminds/html5`, malicious markup used in a sequence with special HTML comments cannot be filtered and sanitized. This allows for a bypass of the cross-site scripting mechanism of `typo3/html-sanitizer`. This issue has been addressed in versions 1.0.7 and 2.0.16 of the `typo3/html-sanitizer` package. Users are advised to upgrade. There are no known workarounds for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TYPO3 | html-sanitizer | >= 1.0.0, < 1.0.7 (affected)>= 2.0.0, < 2.0.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
3GitHub_M · cna
Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d965d786fb893f9ec6b01fd6b2eb385c2f750309113a08497712c447df3f864a
- Ingested
- 23 Sep 2026, 08:01:20 UTC
- Source record
- Official CVE record