CVE-2022-36020: Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer
GHSA-47m6-46mj-p235: By-passing Cross-Site Scripting Protection in HTML Sanitizer
Other sources
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.
TYPO3-CORE-SA-2022-011: By-passing Cross-Site Scripting Protection in HTML Sanitizer
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2022-36020.
What is the severity of CVE-2022-36020?
The severity of CVE-2022-36020 is medium with a CVSS score of 6.1.
What is affected by CVE-2022-36020?
The TYPO3 CMS package versions 10.0.0 to 10.4.32 and 11.0.0 to 11.5.16, as well as the TYPO3 HTML Sanitizer package versions 1.0.0 to 1.0.7 and 2.0.0 to 2.0.16 are affected by CVE-2022-36020.
How can I fix CVE-2022-36020?
To fix CVE-2022-36020, update the TYPO3 CMS package to a version beyond 10.4.32 or 11.5.16, and update the TYPO3 HTML Sanitizer package to a version beyond 1.0.7 or 2.0.16.
Where can I find more information about CVE-2022-36020?
You can find more information about CVE-2022-36020 in the TYPO3 security advisory TYPO3-CORE-SA-2022-011 and the GitHub security advisories GHSA-47m6-46mj-p235.