CVE-2023-38500
MEDIUM 6.1CVSS 3.1By-passing Cross-Site Scripting Protection in HTML Sanitizer
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.
- Published
- 25 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-59jf-3q9v-rh6g
- Sources
- NVDJSONOSV GHSA-59jf-3q9v-rh6gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typo3 | html_sanitizercpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.5.1 | 1.5.1 |
| NVD | typo3 | html_sanitizercpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.1.2 | 2.1.2 |
| OSV | Packagist | typo3/html-sanitizer | >= 1.0.0, < 1.5.1 | 1.5.1 |
| OSV | Packagist | typo3/html-sanitizer | >= 2.0.0, < 2.1.2 | 2.1.2 |
References
- https://github.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb · Patch, WEB
- https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-59jf-3q9v-rh6g · Vendor Advisory, WEB
- https://typo3.org/security/advisory/typo3-core-sa-2023-002 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38500 · ADVISORY
- https://github.com/TYPO3/html-sanitizer · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Jul 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Jul 2023)