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-9vzf-4j4j-gyex
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 2 other vulnerabilities.
VCID-bjcu-67xc-57bn
Aliases:
CVE-2023-38500
GHSA-59jf-3q9v-rh6g
By-passing Cross-Site Scripting Protection in HTML Sanitizer > ### CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.4) ### Problem 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`](https://packagist.org/packages/typo3/html-sanitizer). ### Solution Update to `typo3/html-sanitizer` versions 1.5.1 or 2.1.2 that fix the problem described. ### Credits Thanks to David Klein and Yaniv Nizry who reported this issue, and to TYPO3 security team members Oliver Hader and Benjamin Franzke who fixed the issue. ### References * [TYPO3-CORE-SA-2023-002](https://typo3.org/security/advisory/typo3-core-sa-2023-002)
2.1.2
Affected by 1 other vulnerability.
VCID-c4su-ykce-xkh3
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.
VCID-qw91-ryx7-fqhz
Aliases:
CVE-2023-47125
GHSA-mm79-jhqm-9j54
Bypassing Cross-Site Scripting Protection in TYPO3 HTML Sanitizer > ### CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.4) ### Problem DOM processing instructions are not handled correctly. This allows bypassing the cross-site scripting mechanism of [`typo3/html-sanitizer`](https://packagist.org/packages/typo3/html-sanitizer). ### Solution Update to `typo3/html-sanitizer` versions 1.5.3 or 2.1.4 that fix the problem described. ### Credits Thanks to Yaniv Nizry and Niels Dossche who reported this issue, and to TYPO3 core & security team member Oliver Hader who fixed the issue. ### References * [TYPO3-CORE-SA-2023-007](https://typo3.org/security/advisory/typo3-core-sa-2023-007) * [Context & Details at `masterminds/html5`](https://github.com/Masterminds/html5-php/issues/241)
2.1.4
Affected by 0 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
2025-07-04T13:56:55.816360+00:00 GitLab Importer Affected by VCID-c4su-ykce-xkh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-23499.yml 37.0.0
2025-07-03T18:53:21.767147+00:00 GitLab Importer Affected by VCID-qw91-ryx7-fqhz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 37.0.0
2025-07-03T18:47:37.440815+00:00 GitLab Importer Affected by VCID-bjcu-67xc-57bn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 37.0.0
2025-07-03T18:30:23.230545+00:00 GitLab Importer Affected by VCID-9vzf-4j4j-gyex https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2022-36020.yml 37.0.0
2025-07-03T16:53:46.968512+00:00 GHSA Importer Affected by VCID-qw91-ryx7-fqhz https://github.com/advisories/GHSA-mm79-jhqm-9j54 37.0.0
2025-07-03T16:53:22.708707+00:00 GHSA Importer Affected by VCID-bjcu-67xc-57bn https://github.com/advisories/GHSA-59jf-3q9v-rh6g 37.0.0
2025-07-01T18:15:03.740755+00:00 GitLab Importer Affected by VCID-qw91-ryx7-fqhz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-47125.yml 36.1.3
2025-07-01T18:14:34.482222+00:00 GitLab Importer Affected by VCID-bjcu-67xc-57bn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/typo3/html-sanitizer/CVE-2023-38500.yml 36.1.3
2025-07-01T14:34:10.952653+00:00 GHSA Importer Affected by VCID-c4su-ykce-xkh3 https://github.com/advisories/GHSA-hvwx-qh2h-xcfj 36.1.3
2025-07-01T14:33:29.321768+00:00 GHSA Importer Affected by VCID-9vzf-4j4j-gyex https://github.com/advisories/GHSA-47m6-46mj-p235 36.1.3