Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M
CVE-2022-36096XWiki Platform vulnerable to Cross-site Scripting in the deleted attachments list
High 8.9
In plain English
A high-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 60.2% (higher than 99.1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The XWiki Platform Index UI is an Index of all pages, attachments, orphans and deleted pages and attachments for XWiki Platform, a generic wiki platform. Prior to versions 13.10.6 and 14.3, it's possible to store JavaScript which will be executed by anyone viewing the deleted attachments index with an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3. As a workaround, modify fix the vulnerability by editing the wiki page `XWiki.DeletedAttachments` with the object editor, open the `JavaScriptExtension` object and apply on the content the changes that can be found on the fix commit.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-index-ui | 13.10.6 | GHSA-gjmq-x5x7-wc36 |
| Maven | org.xwiki.platform:xwiki-platform-index-ui | 14.3 | GHSA-gjmq-x5x7-wc36 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 2.2-milestone-1, < 13.10.6>= 14.0, < 14.3 |
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-gjmq-x5x7-wc36 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19613 x_refsource_MISC