Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/cms-core
  4. ›
  5. GMS-2022-4096

GMS-2022-4096: TYPO3 HTML Sanitizer Bypasses Cross-Site Scripting Protection

September 15, 2022

Due to a parsing issue in upstream package masterminds/html5, malicious markup used in a sequence with special HTML comments cannot be filtered and sanitized. This allows to by-pass the cross-site scripting mechanism of typo3/html-sanitizer.

References

  • github.com/TYPO3/typo3/commit/d4f260570abd934fcf3819370a135bef33d729b7
  • github.com/TYPO3/typo3/security/advisories/GHSA-gqqf-g5r7-84vf
  • github.com/advisories/GHSA-gqqf-g5r7-84vf

Code Behaviors & Features

Detect and mitigate GMS-2022-4096 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 7.0.0 up to 7.6.57, all versions starting from 8.0.0 up to 8.7.47, all versions starting from 9.0.0 up to 9.5.36, all versions starting from 10.0.0 up to 10.4.31, all versions starting from 11.0.0 up to 11.5.15

Fixed versions

  • 7.6.58
  • 8.7.48
  • 9.5.37
  • 10.4.32
  • 11.5.16

Solution

Upgrade to versions 7.6.58, 8.7.48, 9.5.37, 10.4.32, 11.5.16 or above.

Source file

packagist/typo3/cms-core/GMS-2022-4096.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:57 +0000.