Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M
CVE-2022-36094XWiki Platform Web Parent POM vulnerable to XSS in the attachment history
High 8.9
In plain English
A high-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 64.8% (higher than 99.2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform Web Parent POM contains Web resources for the XWiki platform, a generic wiki platform. Starting with version 1.0 and prior to versions 13.10.6 and 14.30-rc-1, it's possible to store JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3RC1. As a workaround, it is possible to replace `viewattachrev.vm`, the entry point for this attack, by a patched version from the patch without updating XWiki.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-web | 13.10.6 | GHSA-mxf2-4r22-5hq9 |
| Maven | org.xwiki.platform:xwiki-platform-web | 14.3-rc-1 | GHSA-mxf2-4r22-5hq9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 1.0, < 13.10.6>= 14.0, < 14.3-rc-1 |
Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19612 x_refsource_MISC