Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/html-sanitizer
  4. ›
  5. CVE-2023-38500

CVE-2023-38500: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

July 25, 2023 (updated August 2, 2023)

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

  • github.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb
  • github.com/TYPO3/html-sanitizer/security/advisories/GHSA-59jf-3q9v-rh6g
  • nvd.nist.gov/vuln/detail/CVE-2023-38500
  • typo3.org/security/advisory/typo3-core-sa-2023-002

Code Behaviors & Features

Detect and mitigate CVE-2023-38500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.5.1, all versions starting from 2.0.0 before 2.1.2

Fixed versions

  • 1.5.1
  • 2.1.2

Solution

Upgrade to versions 1.5.1, 2.1.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/typo3/html-sanitizer/CVE-2023-38500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.