CVE-2023-38500Typo3 Html Sanitizer
Medium 6.1 No auth needed
Follow: this CVE · Typo3 · Typo3 Html Sanitizer We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Jul 25, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Html Sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | typo3/html-sanitizer |
≥ 1.0.0 < 1.5.1 |
1.5.1 |
composer require "typo3/html-sanitizer:^1.5.1" |
| Packagist | typo3/html-sanitizer |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
composer require "typo3/html-sanitizer:^2.1.2" |
Per OSV / GitHub Advisories (GHSA-59jf-3q9v-rh6g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| typo3 | html_sanitizer | ≥ 1.0.0 < 1.5.1 |
| typo3 | html_sanitizer | ≥ 2.0.0 < 2.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory
- typo3.org Vendor Advisory