{"answers":{"affected":"5 open source packages ship an affected version, including typo3/html-sanitizer and typo3. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-47125 in the wild and no public exploit code.","fix":"Upgrade typo3/html-sanitizer to a fixed version for your release line: 1.5.3 or 2.1.4.","what":"CVE-2023-47125 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 14 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-47125 and fix it if it is affected.\n\nWhat it is: CVE-2023-47125 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 14 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-47125 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/html-sanitizer (Packagist): affected from 1.0.0; fixed in 1.5.3\n- typo3/html-sanitizer (Packagist): affected from 1.0.0; fixed in 1.5.3\n- typo3/html-sanitizer (Packagist): affected from 2.0.0; fixed in 2.1.4\n- typo3/html-sanitizer (Packagist): affected from 2.0.0; fixed in 2.1.4\n- typo3 (Bitnami): affected from 8.7.42; fixed in 8.7.55, 9.5.44, 10.4.41, 11.5.33, 12.4.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-47125/ (Markdown: https://insights.sbomify.com/CVE-2023-47125/index.md)","id":"CVE-2023-47125","markdown":"https://insights.sbomify.com/CVE-2023-47125/index.md","name":"CVE-2023-47125","record":{"aliases":["BIT-typo3-2023-47125","GHSA-mm79-jhqm-9j54"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"TYPO3 HTML Sanitizer","requires_auth":"none","summary":"An attacker can bypass XSS protections in the TYPO3 HTML Sanitizer library by exploiting incorrect DOM processing instruction handling.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"html_sanitizer","vendor":"typo3"},{"product":"typo3","vendor":"typo3"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Bitnami","Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-01-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-23T11:13:05Z","kind":"github_poc","ref":"https://github.com/nikn0laty/TYPO3-HTML-Sanitizer-XSS-CVE-2023-47125","stars":0,"title":"Stored XSS (exploit) in TYPO3 HTML Sanitizer (CVE-2023-47125). DOM processing instructions are not handled correctly. This allows bypassing the cross-site scripting mechanism of typo3/html-sanitizer."}],"tier":"poc_unverified"},"has_fix":true,"headline":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","id":"CVE-2023-47125","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"typo3:typo3","products":["typo3:typo3"],"type":"xss","year":"2023"},"n_packages":5,"n_references":3,"next":{"headline":"Information Disclosure in Install Tool in typo3/cms-install","id":"CVE-2023-47126"},"packages":[{"ecosystem":"Bitnami","fixed":["8.7.55","9.5.44","10.4.41","11.5.33","12.4.8"],"introduced":["8.7.42","9.5.29","10.4.19","11.3.2","12.0.0"],"last_affected":[],"package":"typo3","purl":"pkg:bitnami/typo3","source":"BIT-typo3-2023-47125"},{"ecosystem":"Packagist","fixed":["1.5.3"],"introduced":["1.0.0"],"last_affected":[],"package":"typo3/html-sanitizer","purl":null,"source":"GHSA-mm79-jhqm-9j54"},{"ecosystem":"Packagist","fixed":["1.5.3"],"introduced":["1.0.0"],"last_affected":[],"package":"typo3/html-sanitizer","purl":"pkg:composer/typo3/html-sanitizer","source":"GHSA-mm79-jhqm-9j54"},{"ecosystem":"Packagist","fixed":["2.1.4"],"introduced":["2.0.0"],"last_affected":[],"package":"typo3/html-sanitizer","purl":null,"source":"GHSA-mm79-jhqm-9j54"},{"ecosystem":"Packagist","fixed":["2.1.4"],"introduced":["2.0.0"],"last_affected":[],"package":"typo3/html-sanitizer","purl":"pkg:composer/typo3/html-sanitizer","source":"GHSA-mm79-jhqm-9j54"}],"prev":{"headline":"Denial of service whith ACME HTTPChallenge in Traefik","id":"CVE-2023-47124"},"products":["html-sanitizer"],"published":"2023-11-14","related":[{"cvss_score":6.1,"headline":"Cross-Site Scripting Protection bypass in HTML Sanitizer","id":"CVE-2022-23499","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":6.1,"headline":"Bypass of Cross-Site Scripting Protection in typo3/html-sanitizer","id":"CVE-2022-36020","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":4.7,"headline":"By-passing Cross-Site Scripting Protection in HTML Sanitizer","id":"CVE-2023-38500","kev_date_added":null,"published":"2023-07-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-29","vendors":["TYPO3"]},"summary":"An attacker can bypass XSS protections in the TYPO3 HTML Sanitizer library by exploiting incorrect DOM processing instruction handling.","url":"https://insights.sbomify.com/CVE-2023-47125/"}