Advisories / composer / typo3/html-sanitizer / CVE-2023-38500
By-passing Cross-Site Scripting Protection in HTML Sanitizer (CVE-2023-38500)
CVE-2023-38500 GHSA-59jf-3q9v-rh6g Published 25 Jul 2023
Fixed in typo3/html-sanitizer 1.5.1 and 2.1.2.
$ composer require typo3/html-sanitizer:^1.5.1 $ composer require typo3/html-sanitizer:^2.1.2
Run the one for the major version you’re on: each fix stays within its release line.
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| typo3/html-sanitizer | ≥ 1.0.0, < 1.5.1≥ 2.0.0, < 2.1.2 | 1.5.12.1.2 |
Check a site from its project folder:
composer show typo3/html-sanitizer
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of typo3/html-sanitizer is safe from CVE-2023-38500?
2.1.2 and later. Versions affected: ≥ 1.0.0, < 1.5.1, ≥ 2.0.0, < 2.1.2.