6.1
MEDIUM
CVE-2022-36020
Typo3 HTML-Sanitizer XSS Bypass
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.

INFO

Published Date :

Sept. 13, 2022, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 7:12 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-36020 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Typo3 typo3
2 Typo3 html_sanitizer
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-36020 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-36020 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/TYPO3/html-sanitizer/commit/60bfdc7f9b394d0236e16ee4cea8372a7defa493
    Added Reference https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235
    Added Reference https://packagist.org/packages/masterminds/html5
    Added Reference https://packagist.org/packages/typo3/html-sanitizer
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 16, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/TYPO3/html-sanitizer/commit/60bfdc7f9b394d0236e16ee4cea8372a7defa493 No Types Assigned https://github.com/TYPO3/html-sanitizer/commit/60bfdc7f9b394d0236e16ee4cea8372a7defa493 Patch, Third Party Advisory
    Changed Reference Type https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235 No Types Assigned https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235 Third Party Advisory
    Changed Reference Type https://packagist.org/packages/masterminds/html5 No Types Assigned https://packagist.org/packages/masterminds/html5 Third Party Advisory
    Changed Reference Type https://packagist.org/packages/typo3/html-sanitizer No Types Assigned https://packagist.org/packages/typo3/html-sanitizer Product, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.0.7 *cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.16
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-36020 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-36020 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.09 }} -0.04%

score

0.39667

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability