{"answers":{"affected":"14 open source packages ship an affected version, including org.xwiki.platform:xwiki-core-rendering-api, org.xwiki.platform:xwiki-platform-annotation-core and org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32070 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-32070 is a critical cross-site scripting vulnerability in Xwiki Xwiki, published on 10 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-32070 and fix it if it is affected.\n\nWhat it is: CVE-2023-32070 is a critical cross-site scripting vulnerability in Xwiki Xwiki, published on 10 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32070 exists.\n\nAffected packages and fixed versions:\n- org.xwiki.platform:xwiki-core-rendering-api (Maven): affected all versions up to 3.0-milestone-2; no fix listed\n- org.xwiki.platform:xwiki-core-rendering-api (Maven): affected all versions up to 3.0-milestone-2; no fix listed\n- org.xwiki.platform:xwiki-platform-annotation-core (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.platform:xwiki-platform-annotation-core (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5 (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5 (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-html (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-html (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-html5 (Maven): affected all versions; fixed in 14.6-rc-1\n- org.xwiki.rendering:xwiki-rendering-syntax-html5 (Maven): affected all versions; fixed in 14.6-rc-1\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-32070/ (Markdown: https://insights.sbomify.com/CVE-2023-32070/index.md)","id":"CVE-2023-32070","markdown":"https://insights.sbomify.com/CVE-2023-32070/index.md","name":"CVE-2023-32070","record":{"aliases":["GHSA-6gf5-c898-7rxp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"XWiki Platform","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary scripts in XWiki via malicious attributes, potentially leading to session hijacking or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rendering","vendor":"xwiki"},{"product":"xwiki","vendor":"xwiki"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"}],"description":"XWiki Platform is a generic wiki platform. Prior to version 14.6-rc-1, HTML rendering didn't check for dangerous attributes/attribute values. This allowed cross-site scripting (XSS) attacks via attributes and link URLs, e.g., supported in XWiki syntax. This has been patched in XWiki 14.6-rc-1. There are no known workarounds apart from upgrading to a fixed version.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-16T11:46:39Z","kind":"github_poc","ref":"https://github.com/shoucheng3/xwiki__xwiki-rendering_CVE-2023-32070_14-5","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers","id":"CVE-2023-32070","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"xwiki:xwiki","products":["xwiki:xwiki"],"type":"xss","year":"2023"},"n_packages":14,"n_references":3,"next":{"headline":"XWiki Platform vulnerable to RXSS via editor parameter - importinline template","id":"CVE-2023-32071"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.0-milestone-2"],"package":"org.xwiki.platform:xwiki-core-rendering-api","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.0-milestone-2"],"package":"org.xwiki.platform:xwiki-core-rendering-api","purl":"pkg:maven/org.xwiki.platform/xwiki-core-rendering-api","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-annotation-core","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-annotation-core","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-annotation-core","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-syntax-annotatedhtml5","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-syntax-annotatedxhtml","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-html","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-html","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-syntax-html","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-html5","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-html5","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-syntax-html5","source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-xhtml","purl":null,"source":"GHSA-6gf5-c898-7rxp"},{"ecosystem":"Maven","fixed":["14.6-rc-1"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.rendering:xwiki-rendering-syntax-xhtml","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-syntax-xhtml","source":"GHSA-6gf5-c898-7rxp"}],"prev":{"headline":"XWiki Platform privilege escalation (PR)/RCE from account through class sheet","id":"CVE-2023-32069"},"products":["xwiki-rendering"],"published":"2023-05-10","related":[],"sources":[{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-27","vendors":["xwiki"]},"summary":"Attackers can execute arbitrary scripts in XWiki via malicious attributes, potentially leading to session hijacking or data theft.","url":"https://insights.sbomify.com/CVE-2023-32070/"}