Vulnerability advisory
CVE-2023-38500
By-passing Cross-Site Scripting Protection in HTML Sanitizer
Also known as GHSA-59jf-3q9v-rh6g
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/typo3/html-sanitizer ↗ | |
| ca1c30b9b5c160024257f456606b1f3f17138ca6 to before 090fb6db3630663668bef386c16783efd3cb70cd | 090fb6db3630663668bef386c16783efd3cb70cd |
| b32bbd462406f28d1fca4bde8a8cd8b49a4bdd39 to before e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb | e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb |
Also listed as affected (20)
| |
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.
References
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38500.json ↗
- Advisorygithub.com/TYPO3/html-sanitizer/security/advisories/GHSA-59jf-3q9v-rh6g ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-38500 ↗
- Advisorytypo3.org/security/advisory/typo3-core-sa-2023-002 ↗
- Fixgithub.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb ↗