{"id":"CVE-2023-47125","published":"2023-11-14T20:07:56Z","modified":"2024-08-29T20:25:31Z","title":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","vendor":"TYPO3","product":"html-sanitizer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00617,"percentile":0.43833,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-mm79-jhqm-9j54","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff","tags":["x_refsource_MISC"]},{"url":"https://typo3.org/security/advisory/typo3-core-sa-2023-007","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.29}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-01-23","earliestUrl":"https://github.com/nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","repos":[{"name":"nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","url":"https://github.com/nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","stars":0,"created":"2026-01-23"}]},"first":{"date":"2026-01-23","source":"PoC-in-GitHub","url":"https://github.com/nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125"},"provenance":"source"},"vendorSlug":"typo3","affectedVersions":[{"vendor":"TYPO3","product":"html-sanitizer","versions":[">= 1.0.0, < 1.5.3",">= 2.0.0, < 2.1.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-29T20:25:20.598995Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"typo3/html-sanitizer","vulnerableRanges":[">=1.0.0, <1.5.3",">=2.0.0, <2.1.4"],"patched":["1.5.3","2.1.4"],"from":["GHSA-mm79-jhqm-9j54"],"provenance":"source"}],"summary":{"text":"The html-sanitizer library from TYPO3 (typo3/html-sanitizer) fails to correctly handle DOM processing instructions, which allows its cross-site scripting protection to be bypassed. An unauthenticated remote attacker can exploit this by getting a user to interact with crafted content, so user interaction is required and the attack is limited to a high-complexity setup.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:15Z"},"euvd":{"id":"EUVD-2023-3000","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-typo3-html-sanitizer-cve-2023-38500","parents":[{"from":"CVE-2023-38500","to":"CVE-2023-47125","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:typo3/html-sanitizer","fromFixed":"1.5.1","toFixed":"1.5.3","daysApart":112},{"kind":"version-step","provenance":"source","package":"Packagist:typo3/html-sanitizer","fromFixed":"2.1.2","toFixed":"2.1.4","daysApart":112},{"kind":"same-code","provenance":"machine","files":["src/Behavior.php","src/Builder/CommonBuilder.php","src/Visitor/CommonVisitor.php"],"commits":["https://github.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb","https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff"],"basis":"shared function","functions":["Behavior"]}]}],"packageHistory":[{"cve":"CVE-2022-36020","published":"2022-09-13","fixed":"2.0.16","kev":false},{"cve":"CVE-2022-23499","published":"2022-12-13","fixed":"2.1.1","kev":false},{"cve":"CVE-2023-38500","published":"2023-07-25","fixed":"2.1.2","kev":false},{"cve":"CVE-2023-47125","published":"2023-11-14","fixed":"2.1.4","kev":false},{"cve":"CVE-2026-47344","published":"2026-06-08","fixed":"2.3.2","kev":false},{"cve":"CVE-2026-47345","published":"2026-06-08","fixed":"2.3.2","kev":false}],"package":"Packagist:typo3/html-sanitizer"}}