CVE-2022-36020: Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer
Vulnerability summary
CVE-2022-36020 is a medium (CVSS 6.1) vulnerability in typo3 html_sanitizer. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 57.4% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 13-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.82% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Typo32 products
- html_sanitizer≥ 1.0.0, < 1.0.7 | ≥ 2.0.0, < 2.0.16
- html-sanitizer≥ 1.0.0, < 1.0.7 | ≥ 2.0.0, < 2.0.16
1 vendor · 2 products
References
4 links- github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235X Refsource CONFIRMThird Party Advisory
- github.com/TYPO3/html-sanitizer/commit/60bfdc7f9b394d0236e16ee4cea8372a7defa493X Refsource MISCPatchThird Party Advisory