Vulnerability · Published May 10, 2023 · Assigned by GitHub_M
CVE-2023-32070Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers
Critical 9.1
In plain English
A critical-severity cross-site scripting in xwiki-rendering from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-core-rendering-api | no fix listed | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.platform:xwiki-platform-annotation-core | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5 | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.rendering:xwiki-rendering-syntax-html | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.rendering:xwiki-rendering-syntax-html5 | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
| Maven | org.xwiki.rendering:xwiki-rendering-syntax-xhtml | 14.6-rc-1 | GHSA-6gf5-c898-7rxp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-rendering | < 14.6-rc-1<= 3.0-milestone-2 |
Weakness: CWE-83, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-rendering/commit/c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1 x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-663 x_refsource_MISC