CVE-2023-47125
JSON

4.7medium

By-passing Cross-Site Scripting Protection in HTML Sanitizer

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mm79-jhqm-9j54BIT-TYPO3-2023-47125

Description

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.

Affected

Product or packageVersionsReported by
TYPO3 html-sanitizer>= 1.0.0, < 1.5.3, >= 2.0.0, < 2.1.4CVE List
typo3/html-sanitizer (Packagist)from 1.0.0 before 1.5.3, from 2.0.0 before 2.1.4GitHub Advisory Database
typo3 html_sanitizerfrom 1.0.0 before 1.5.3, from 2.0.0 before 2.1.4NVD
typo3 typo3from 8.7.42 before 8.7.55, from 9.5.29 before 9.5.44, from 10.4.19 before 10.4.41, from 11.3.2 before 11.5.33, from 12.0.0 before 12.4.8NVD
typo3 (Bitnami)from 8.7.42 before 8.7.55, from 9.5.29 before 9.5.44, from 10.4.19 before 10.4.41, from 11.3.2 before 11.5.33, from 12.0.0 before 12.4.8Bitnami Vulnerability Database

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

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
NVD (es)

TYPO3 es un sistema de gestión de contenido web basado en PHP de código abierto publicado bajo GNU GPL. En las versiones afectadas, las instrucciones de procesamiento DOM no se manejan correctamente. Esto permite evitar el mecanismo de Cross-Site Scripting de typo3/html-sanitizer. Esta vulnerabilidad se ha solucionado en las versiones 1.5.3 y 2.1.4. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-47125 changed 2024-08-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-mm79-jhqm-9j54 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-47125 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TYPO3-2023-47125 changed 2024-03-06Apache-2.0