Skip to content

CVE-2023-38500 By-passing Cross-Site Scripting Protection in HTML Sanitizer

MediumCVSS 6.1 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

Description

TYPO3 HTML Sanitizer is an HTML sanitizer, written in PHP, aiming to provide cross-site-scripting-safe markup based on explicitly allowed tags, attributes and values. Starting in version 1.0.0 and prior to versions 1.5.1 and 2.1.2, due to an encoding issue in the serialization layer, malicious markup nested in a noscript element was not encoded correctly. noscript is disabled in the default configuration, but might have been enabled in custom scenarios. This allows bypassing the cross-site scripting mechanism of TYPO3 HTML Sanitizer. Versions 1.5.1 and 2.1.2 fix the problem.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
typo3 html sanitizer >= 1.0.0, < 1.5.1; >= 2.0.0, < 2.1.2 1.5.1, 2.1.2 Fixed
typo3/html-sanitizer(Packagist) = v1.0.0; = v1.0.1; = v1.0.2; = v1.0.3 +26 more 1.5.1, 2.1.2 Fixed
typo3/html-sanitizer = >= 1.0.0, < 1.5.1; = >= 2.0.0, < 2.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
typo3/html-sanitizer(Packagist) >= 1.0.0, < 1.5.1 1.5.1
typo3/html-sanitizer(Packagist) = v1.0.0 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.1 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.2 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.3 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.4 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.5 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.6 No fix listed
typo3/html-sanitizer(Packagist) = v1.0.7 No fix listed
typo3/html-sanitizer(Packagist) = v1.5.0 No fix listed
typo3/html-sanitizer(Packagist) >= 2.0.0, < 2.1.2 2.1.2
typo3/html-sanitizer(Packagist) = v2.0.0 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.1 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.10 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.11 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.12 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.13 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.14 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.15 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.16 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.2 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.3 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.4 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.5 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.6 No fix listed
Show 9 more
ProductAffected versionsFixed in
typo3/html-sanitizer(Packagist) = v2.0.7 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.8 No fix listed
typo3/html-sanitizer(Packagist) = v2.0.9 No fix listed
typo3/html-sanitizer(Packagist) = v2.1.0 No fix listed
typo3/html-sanitizer(Packagist) = v2.1.1 No fix listed
typo3/html-sanitizer = >= 1.0.0, < 1.5.1 No fix listed
typo3/html-sanitizer = >= 2.0.0, < 2.1.2 No fix listed
typo3 html sanitizer >= 1.0.0, < 1.5.1 1.5.1
typo3 html sanitizer >= 2.0.0, < 2.1.2 2.1.2

References