Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/html-sanitizer
  4. ›
  5. GMS-2022-8136

GMS-2022-8136: Duplicate of ./packagist/typo3/html-sanitizer/CVE-2022-23499.yml

December 13, 2022

Due to a parsing issue in the upstream package masterminds/html5, malicious markup used in a sequence with special HTML CDATA sections cannot be filtered and sanitized. This allows bypassing the cross-site scripting mechanism of typo3/html-sanitizer. Besides that, the upstream package masterminds/html5 provides HTML raw text elements (script, style, noframes, noembed and iframe) as DOMText nodes, which were not processed and sanitized further. None of the mentioned elements were defined in the default builder configuration, that’s why only custom behaviors, using one of those tag names, were vulnerable to cross-site scripting.

Solution

Update to typo3/html-sanitizer versions 1.5.0 or 2.1.1 that fix the problem described.

References

  • github.com/TYPO3/html-sanitizer/pull/105
  • github.com/TYPO3/html-sanitizer/pull/106
  • github.com/TYPO3/html-sanitizer/releases/tag/v1.5.0
  • github.com/TYPO3/html-sanitizer/releases/tag/v2.1.1
  • github.com/TYPO3/html-sanitizer/security/advisories/GHSA-hvwx-qh2h-xcfj
  • github.com/advisories/GHSA-hvwx-qh2h-xcfj

Code Behaviors & Features

Detect and mitigate GMS-2022-8136 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.0, all versions starting from 2.0.0 before 2.1.1

Fixed versions

  • 1.5.0
  • 2.1.1

Solution

Upgrade to versions 1.5.0, 2.1.1 or above.

Source file

packagist/typo3/html-sanitizer/GMS-2022-8136.yml

Spotted a mistake? Edit the file on GitLab.

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

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