{"id":"CVE-2023-47125","aliases":["BIT-typo3-2023-47125","EUVD-2023-3000","GHSA-mm79-jhqm-9j54"],"status":"published","title":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","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.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00579,"percentile":0.48107,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-79"],"published":"2023-11-14T20:07:56Z","modified":"2026-10-28T02:30:22Z","exploits":[{"source":"pocgithub","id":"nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","title":"nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","date":"2026-01-23","url":"https://github.com/nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125"}],"fixes":[{"ecosystem":"Packagist","package":"typo3/html-sanitizer","fixed_in":["1.5.3","2.1.4"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"typo3","fixed_in":["8.7.55","9.5.44","10.4.41","11.5.33","12.4.8"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"typo3/html-sanitizer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"last_affected":"1.5.2"},{"fixed":"1.5.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"typo3/html-sanitizer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"last_affected":"2.1.3"},{"fixed":"2.1.4"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"typo3","ranges":[{"type":"SEMVER","events":[{"introduced":"8.7.42"},{"fixed":"8.7.55"},{"introduced":"9.5.29"},{"fixed":"9.5.44"},{"introduced":"10.4.19"},{"fixed":"10.4.41"},{"introduced":"11.3.2"},{"fixed":"11.5.33"},{"introduced":"12.0.0"},{"fixed":"12.4.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"typo3/html-sanitizer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.5.3"}]}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.5.0","v1.5.1","v1.5.2"]},{"source":"osv","ecosystem":"Packagist","package":"typo3/html-sanitizer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.4"}]}],"versions":["v2.0.0","v2.0.1","v2.0.10","v2.0.11","v2.0.12","v2.0.13","v2.0.14","v2.0.15","v2.0.16","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.0.9","v2.1.0","v2.1.1","v2.1.2","v2.1.3"]}],"products":[{"vendor":"typo3","product":"html-sanitizer"},{"vendor":"typo3","product":"html_sanitizer"},{"vendor":"typo3","product":"typo3"}],"references":[{"url":"https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-mm79-jhqm-9j54","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff","tags":["x_refsource_MISC","x_transferred","Patch","web","fix"]},{"url":"https://typo3.org/security/advisory/typo3-core-sa-2023-007","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47125","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mm79-jhqm-9j54"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47125.json","tags":["advisory"]},{"url":"https://github.com/TYPO3/html-sanitizer","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-47125","title":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","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.","status":"published","published":"2023-11-14T20:07:56.433Z","modified":"2024-08-29T20:25:31.869Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:14.298866Z"}],"euvd":[{"id":"EUVD-2023-3000","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.","status":"published","published":"2023-11-14T20:07:56Z","modified":"2024-08-29T20:25:31Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:56:07.428873Z"}],"ghsa":[{"id":"GHSA-mm79-jhqm-9j54","title":"Bypassing Cross-Site Scripting Protection in TYPO3 HTML Sanitizer","description":"\u003e ### 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)\n\n### Problem\nDOM 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).\n\n### Solution\nUpdate to `typo3/html-sanitizer` versions 1.5.3 or 2.1.4 that fix the problem described.\n\n### Credits\nThanks to Yaniv Nizry and Niels Dossche who reported this issue, and to TYPO3 core \u0026 security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2023-007](https://typo3.org/security/advisory/typo3-core-sa-2023-007)\n* [Context \u0026 Details at `masterminds/html5`](https://github.com/Masterminds/html5-php/issues/241)","status":"published","published":"2023-11-14T20:33:27Z","modified":"2023-11-15T18:16:16Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:22.040291Z"}],"nvd":[{"id":"CVE-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.","status":"published","published":"2023-11-14T20:15:07.837Z","modified":"2026-06-17T06:32:12.41Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:46.647045Z"}],"osv":[{"id":"CVE-2023-47125","title":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","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.","status":"published","published":"2023-11-14T20:07:56.433Z","modified":"2026-10-28T02:30:22.805002748Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"GHSA-mm79-jhqm-9j54","title":"Bypassing Cross-Site Scripting Protection in TYPO3 HTML Sanitizer","description":"\u003e ### 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)\n\n### Problem\nDOM 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).\n\n### Solution\nUpdate to `typo3/html-sanitizer` versions 1.5.3 or 2.1.4 that fix the problem described.\n\n### Credits\nThanks to Yaniv Nizry and Niels Dossche who reported this issue, and to TYPO3 core \u0026 security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2023-007](https://typo3.org/security/advisory/typo3-core-sa-2023-007)\n* [Context \u0026 Details at `masterminds/html5`](https://github.com/Masterminds/html5-php/issues/241)","status":"published","published":"2023-11-14T20:33:27Z","modified":"2026-09-10T03:50:04.276093579Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:52.170928Z"},{"id":"BIT-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.","status":"published","published":"2024-03-06T11:07:53.579Z","modified":"2024-03-06T11:25:28.861Z","updated_at":"2026-11-02T15:28:36.104787Z"}]}}
