Skip to main content
← All vulnerabilities
CVE-2022-36020GHSA-47M6-46MJ-P235

Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.7, 2.0.16, 10.4.32, 11.5.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • TYPO3 html-sanitizer

    From 1.0.0 · fixed in 1.0.7; From 2.0.0 · fixed in 2.0.16

  • typo3/html-sanitizerPackagist

    From 1.0.0 · fixed in 1.0.7

  • typo3/html-sanitizerPackagist

    From 2.0.0 · fixed in 2.0.16

  • typo3/cms-corePackagist

    From 10.0.0 · fixed in 10.4.32

  • typo3/cms-corePackagist

    From 11.0.0 · fixed in 11.5.16

  • typo3/cmsPackagist

    From 10.0.0 · fixed in 10.4.32

  • typo3/cmsPackagist

    From 11.0.0 · fixed in 11.5.16

References 4

GitHub · TYPO3/html-sanitizer

packagist.org