By-passing Cross-Site Scripting Protection in HTML Sanitizer
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TYPO3 | html-sanitizer | 1.0.0 to before 1.5.1; 2.0.0 to before 2.1.2 | 1.5.1, 2.1.2 | Patch available | CNA |
| — | typo3/html-sanitizer (Packagist) | 1.0.0 to before 1.5.1 | 1.5.1 | Patch available | GHSA-59jf-3q9v-rh6g |
| — | typo3/html-sanitizer (Packagist) | 2.0.0 to before 2.1.2 | 2.1.2 | Patch available | GHSA-59jf-3q9v-rh6g |
- html-sanitizer VendorTYPO3 Affected 1.0.0 to before 1.5.1; 2.0.0 to before 2.1.2 Fixed in 1.5.1, 2.1.2 Patch available CNA
- typo3/html-sanitizer (Packagist) Vendor— Affected 1.0.0 to before 1.5.1 Fixed in 1.5.1 Patch available GHSA-59jf-3q9v-rh6g
- typo3/html-sanitizer (Packagist) Vendor— Affected 2.0.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-59jf-3q9v-rh6g
Remediation
- Fix · CNA html-sanitizer (TYPO3) Fixed in 1.5.1, 2.1.2
- Fix · GHSA-59jf-3q9v-rh6g typo3/html-sanitizer (Packagist) Fixed in 1.5.1 Advisory →
- Fix · GHSA-59jf-3q9v-rh6g typo3/html-sanitizer (Packagist) Fixed in 2.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-38500
- 2026-10-03 Alias added: GHSA-59jf-3q9v-rh6g
References
Advisory 3
More TYPO3 Html Sanitizer vulnerabilities
- TI-2022-16445 Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer CVSS 3.1MEDIUM 6.1
- TI-2023-25465 By-passing Cross-Site Scripting Protection in HTML Sanitizer CVSS 3.1MEDIUM 6.1
- TI-2022-07558 Cross-Site Scripting Protection bypass in HTML Sanitizer CVSS 3.1MEDIUM 6.1
Sources
- CVE-2023-38500 · CVE Program
- CVE-2023-38500 · NVD
- FIRST EPSS
- GHSA-59jf-3q9v-rh6g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences