CVE-2023-32070 is a critical-severity (CVSS 9) CWE-83 vulnerability in org.xwiki.rendering:xwiki-rendering-syntax-xhtml. A fix is available for org.xwiki.rendering:xwiki-rendering-syntax-xhtml — see the affected versions and patch details below.
Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-32070.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.rendering:xwiki-rendering-syntax-xhtml☕org.xwiki.platform:xwiki-core-rendering-api☕org.xwiki.rendering:xwiki-rendering-syntax-html☕org.xwiki.rendering:xwiki-rendering-syntax-html5☕org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml☕org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5☕org.xwiki.platform:xwiki-platform-annotation-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
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.
Patches
This has been patched in XWiki 14.6 RC1.
Workarounds
There are no known workarounds apart from upgrading to a fixed version.
References
- https://github.com/xwiki/xwiki-rendering/commit/c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1
- https://jira.xwiki.org/browse/XRENDERING-663
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.rendering:xwiki-rendering-syntax-xhtml | all versions | 14.6-rc-1org.xwiki.rendering:xwiki-rendering-syntax-xhtml:14.6-rc-1 |
| ☕Maven | org.xwiki.platform:xwiki-core-rendering-api | all versions | No fix |
| ☕Maven | org.xwiki.rendering:xwiki-rendering-syntax-html | all versions | 14.6-rc-1org.xwiki.rendering:xwiki-rendering-syntax-html:14.6-rc-1 |
| ☕Maven | org.xwiki.rendering:xwiki-rendering-syntax-html5 | all versions | 14.6-rc-1org.xwiki.rendering:xwiki-rendering-syntax-html5:14.6-rc-1 |
| ☕Maven | org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml | all versions | 14.6-rc-1org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml:14.6-rc-1 |
| ☕Maven | org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5 | all versions | 14.6-rc-1org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5:14.6-rc-1 |
Affected Products
renderingxwikixwikixwikiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.rendering:xwiki-rendering-syntax-xhtml, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.rendering:xwiki-rendering-syntax-xhtml to 14.6-rc-1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-32070 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2023-32070 in your dependencies?
Find it across Maven, including transitive dependencies.