Vulnerability · Published May 9, 2023 · Assigned by GitHub_M
CVE-2023-32071XWiki Platform vulnerable to RXSS via editor parameter - importinline template
Critical 9.1
In plain English
A critical-severity cross-site scripting in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 70.4% (higher than 99.4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in versions 2.2-milestone-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, it's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment. This has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8. The easiest possible workaround is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 14.4.8 | GHSA-j9h5-vcgv-2jfm |
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 14.10.4 | GHSA-j9h5-vcgv-2jfm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 2.2-milestone-1, < 14.4.8>= 14.5, < 14.10.4 |
Weakness: CWE-116, 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-platform/security/advisories/GHSA-j9h5-vcgv-2jfm x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/28905f7f518cc6f21ea61fe37e9e1ed97ef36f01 x_refsource_MISC
- https://app.intigriti.com/company/submissions/e95a7ad5-7029-4627-abf0-3e3e3ea0b4ce/XWIKI-E93DFEYK x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20340 x_refsource_MISC