CVE-2022-36020

    Dashboard / Vulnerabilities / CVE-2022-36020

    CVE-2022-36020

    Published: 13 Sept 2022Last Modified: 21 Oct 2026

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

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- ca1c30b9b5c160024257f456606b1f3f17138ca6

    Affected versions

    v2.0.15
    v2.0.14
    v2.0.13
    v2.0.12
    v2.0.11
    v2.0.10
    v2.0.9
    v2.0.8
    v2.0.7
    v2.0.6
    v2.0.5
    v2.0.4
    v2.0.3
    v2.0.2
    v2.0.1
    v2.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-36020 | CVE-DB