Vulnerability advisory

CVE-2023-38500

By-passing Cross-Site Scripting Protection in HTML Sanitizer

Published Updated OSV record ↗

Also known as GHSA-59jf-3q9v-rh6g

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/typo3/html-sanitizer ↗
ca1c30b9b5c160024257f456606b1f3f17138ca6 to before 090fb6db3630663668bef386c16783efd3cb70cd090fb6db3630663668bef386c16783efd3cb70cd
b32bbd462406f28d1fca4bde8a8cd8b49a4bdd39 to before e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdbe3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb
Also listed as affected (20)
  • v1.5.0
  • v2.1.1
  • v2.1.0
  • v2.0.16
  • v2.0.15
  • v2.0.14
  • v2.0.13
  • v2.0.12
  • v2.0.11
  • v2.0.10
  • v2.0.9
  • v2.0.8
  • v2.0.7
  • v2.0.6
  • v2.0.5
  • v2.0.4
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0

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

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools