{"id":"GHSA-gqqf-g5r7-84vf","aliases":["GHSA-gqqf-g5r7-84vf"],"related":[],"kind":"vulnerability","state":"published","title":"TYPO3 HTML Sanitizer Bypasses Cross-Site Scripting Protection","summary":"> ### Meta\n> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (5.7)\n\n### Problem\nDue to a parsing issue in upstream package [`masterminds/html5`](https://packagist.org/packages/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`](https://github.com/TYPO3/html-sanitizer).\n\n### Solution\nUpdate to TYPO3 version 7.6.58 ELTS, 8.7.48 ELTS, 9.5.37 ELTS, 10.4.32 or 11.5.16 that fix the problem described above.\n\n### Credits\nThanks to David Klein who reported this issue, and to TYPO3 security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2022-011](https://typo3.org/security/advisory/typo3-core-sa-2022-011)\n* [GHSA-47m6-46mj-p235](https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"> ### Meta\n> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (5.7)\n\n### Problem\nDue to a parsing issue in upstream package [`masterminds/html5`](https://packagist.org/packages/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`](https://github.com/TYPO3/html-sanitizer).\n\n### Solution\nUpdate to TYPO3 version 7.6.58 ELTS, 8.7.48 ELTS, 9.5.37 ELTS, 10.4.32 or 11.5.16 that fix the problem described above.\n\n### Credits\nThanks to David Klein who reported this issue, and to TYPO3 security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2022-011](https://typo3.org/security/advisory/typo3-core-sa-2022-011)\n* [GHSA-47m6-46mj-p235](https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-47m6-46mj-p235)","format":"markdown","source":"ghsa"}],"published":"2022-09-15T03:26:51.000Z","modified":"2024-12-06T05:37:17.196Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.6.58"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.7.48"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.5.37"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0","status":"affected","fixed":"10.4.32"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.5.16"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"}],"references":[{"url":"https://github.com/TYPO3/typo3/security/advisories/GHSA-gqqf-g5r7-84vf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TYPO3/typo3/commit/d4f260570abd934fcf3819370a135bef33d729b7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TYPO3/typo3","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gqqf-g5r7-84vf","url":"https://github.com/advisories/GHSA-gqqf-g5r7-84vf","licence":"CC-BY-4.0","modified":"2024-12-06T05:37:17.196Z"}],"updatedAt":"2026-11-25T22:56:32.210Z"}