CVE-2022-23499 – typo3/cms
Package
Manager: composer
Name: typo3/cms
Vulnerable Version: >=10.0.0 <10.4.33 || >=11.0.0 <11.5.20 || >=12.0.0 <12.1.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00037 pctl0.09775
Details
TYPO3 HTML Sanitizer vulnerable to Cross-Site Scripting ### Problem Due to a parsing issue in the upstream package [`masterminds/html5`](https://packagist.org/packages/masterminds/html5), malicious markup used in a sequence with special HTML CDATA sections cannot be filtered and sanitized. This allows bypassing the cross-site scripting mechanism of [`typo3/html-sanitizer`](https://packagist.org/packages/typo3/html-sanitizer). Besides that, the upstream package `masterminds/html5` provides HTML raw text elements (`script`, `style`, `noframes`, `noembed` and `iframe`) as DOMText nodes, which were not processed and sanitized further. None of the mentioned elements were defined in the default builder configuration, that's why only custom behaviors, using one of those tag names, were vulnerable to cross-site scripting. ### Solution Update to `typo3/html-sanitizer` versions 1.5.0 or 2.1.1 that fix the problem described.
Metadata
Created: 2022-12-13T16:59:12Z
Modified: 2022-12-13T16:59:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-hvwx-qh2h-xcfj/GHSA-hvwx-qh2h-xcfj.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-hvwx-qh2h-xcfj
Finding: F008
Auto approve: 1