CVE-2022-36097 in the critical feed json
XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form
published 2022-09-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-9r9j-57rf-f6vj , EUVD-2022-6764
- cvss
- 8.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 58.2%
- EPSS 58.2% chance of exploitation in 30 days, percentile 99%
- public exploits
- 0
- none known
Summary
XWiki Platform Attachment UI provides a macro to easily upload and select attachments for XWiki Platform, a generic wiki platform. Starting with version 14.0-rc-1 and prior to 14.4-rc-1, it's possible to store JavaScript in an attachment name, which will be executed by anyone trying to move the corresponding attachment. This issue has been patched in XWiki 14.4-rc-1. As a workaround, one may copy `moveStep1.vm` to `webapp/xwiki/templates/moveStep1.vm` and replace vulnerable code with code from the patch.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-attachment-ui 14.4-rc-1
- xwiki xwiki 14.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
58.16% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj referenced PoC, tagged "exploit" by a source, unverified
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-19667 referenced PoC, tagged "exploit" by a source, unverified
- raw.githubusercontent.com https://raw.githubusercontent.com/xwiki/xwiki-platform/xwiki-platform-14.0-rc-1/xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/main/resources/templates/attachment/moveStep1.vm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-attachment-ui | >=14.0-rc-1, <14.4-rc-1 |
14.4-rc-1 |
Affected products
- xwiki xwiki-platform
Classification
References
-
github.com
/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277
web, patch, third-party-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj
web, exploit, third-party-advisory
-
jira.xwiki.org
/browse/XWIKI-19667
web, exploit, vendor-advisory
-
raw.githubusercontent.com
/xwiki/xwiki-platform/xwiki-platform-14.0-rc-1/xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-at
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36097
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2022-36097
- GitHub Advisory GHSA-9r9j-57rf-f6vj
- NVD CVE-2022-36097
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.