Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/typo3/html-sanitizer@2.0.0
purl pkg:composer/typo3/html-sanitizer@2.0.0
Next non-vulnerable version 2.1.4
Latest non-vulnerable version 2.1.4
Risk 3.1
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-1yxw-saf5-wue7
Aliases:
CVE-2022-36020
GHSA-47m6-46mj-p235
TYPO3 HTML Sanitizer Bypasses Cross-Site Scripting Protection > ### Meta > * 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) ### Problem Due 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`. ### Solution Update to `typo3/html-sanitizer` versions 1.0.7 or 2.0.16 that fix the problem described. ### Credits Thanks to David Klein who reported this issue, and to TYPO3 security team member Oliver Hader who fixed the issue.
2.0.16
Affected by 3 other vulnerabilities.
VCID-jm95-52f4-mqfe
Aliases:
CVE-2023-47125
GHSA-mm79-jhqm-9j54
Bypassing Cross-Site Scripting Protection in TYPO3 HTML Sanitizer TYPO3 is an open source PHP based web content management system released under the GNU GPL. In affected versions DOM processing instructions are not handled correctly. This allows bypassing the cross-site scripting mechanism of typo3/html-sanitizer. This vulnerability has been addressed in versions 1.5.3 and 2.1.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.
2.1.4
Affected by 0 other vulnerabilities.
VCID-ntv8-t4pv-hfa6
Aliases:
CVE-2023-38500
GHSA-59jf-3q9v-rh6g
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 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.
2.1.2
Affected by 1 other vulnerability.
VCID-yj9g-uz1a-jkf2
Aliases:
CVE-2022-23499
GHSA-hvwx-qh2h-xcfj
GMS-2022-8136
TYPO3 HTML Sanitizer vulnerable to Cross-Site Scripting ### Problem Due to a parsing issue in the upstream package [`masterminds/html5`](https://packagist.org/packages/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`](https://packagist.org/packages/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.
2.1.1
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:43:20.863555+00:00 GitLab Importer Affected by VCID-jm95-52f4-mqfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 38.4.0
2026-04-16T22:34:48.333385+00:00 GitLab Importer Affected by VCID-ntv8-t4pv-hfa6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 38.4.0
2026-04-16T22:18:02.904760+00:00 GitLab Importer Affected by VCID-yj9g-uz1a-jkf2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-23499.yml 38.4.0
2026-04-16T22:08:42.011150+00:00 GitLab Importer Affected by VCID-1yxw-saf5-wue7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-36020.yml 38.4.0
2026-04-12T00:02:55.539838+00:00 GitLab Importer Affected by VCID-jm95-52f4-mqfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 38.3.0
2026-04-11T23:53:54.146126+00:00 GitLab Importer Affected by VCID-ntv8-t4pv-hfa6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 38.3.0
2026-04-11T23:35:33.983080+00:00 GitLab Importer Affected by VCID-yj9g-uz1a-jkf2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-23499.yml 38.3.0
2026-04-11T23:25:10.566900+00:00 GitLab Importer Affected by VCID-1yxw-saf5-wue7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-36020.yml 38.3.0
2026-04-03T21:28:32.437525+00:00 GitLab Importer Affected by VCID-yj9g-uz1a-jkf2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-23499.yml 38.1.0
2026-04-03T00:07:36.670723+00:00 GitLab Importer Affected by VCID-jm95-52f4-mqfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 38.1.0
2026-04-02T23:57:01.885094+00:00 GitLab Importer Affected by VCID-ntv8-t4pv-hfa6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 38.1.0
2026-04-02T23:31:30.132760+00:00 GitLab Importer Affected by VCID-1yxw-saf5-wue7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-36020.yml 38.1.0
2026-04-02T17:00:41.354597+00:00 GHSA Importer Affected by VCID-jm95-52f4-mqfe https://github.com/advisories/GHSA-mm79-jhqm-9j54 38.1.0
2026-04-02T16:59:59.167078+00:00 GHSA Importer Affected by VCID-ntv8-t4pv-hfa6 https://github.com/advisories/GHSA-59jf-3q9v-rh6g 38.1.0
2026-04-02T16:58:36.569179+00:00 GHSA Importer Affected by VCID-yj9g-uz1a-jkf2 https://github.com/advisories/GHSA-hvwx-qh2h-xcfj 38.1.0
2026-04-01T17:53:08.827356+00:00 GitLab Importer Affected by VCID-1yxw-saf5-wue7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-36020.yml 38.0.0
2026-04-01T16:03:12.089005+00:00 GHSA Importer Affected by VCID-1yxw-saf5-wue7 https://github.com/advisories/GHSA-47m6-46mj-p235 38.0.0
2026-04-01T12:52:06.941091+00:00 GitLab Importer Affected by VCID-jm95-52f4-mqfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 38.0.0
2026-04-01T12:51:37.289975+00:00 GitLab Importer Affected by VCID-ntv8-t4pv-hfa6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 38.0.0