CVE-2022-36097Xwiki XSS
XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form
Published Sep 8, 2022 · Updated Oct 28, 2026 · Also known as GHSA-9r9j-57rf-f6vj
Key Facts
Patch immediately- CVE-2022-36097 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-attachment-ui (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 59% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-attachment-ui 14.4-rc-1, Xwiki 14.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
59%
Higher than 99.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
Description
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | See advisory | 14.3 |
| org.xwiki.platform:xwiki-platform-attachment-uimaven | >= 14.0-rc-1 | 14.4-rc-1 |
| xwiki-platform | >= 14.0-rc-1, < 14.4-rc-1 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-attachment-ui
14.4-rc-1
Xwiki
14.3
Timeline
Publicly disclosed
Sep 8, 2022
Last updated
Oct 28, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-36097
- advisoryGHSA advisory
- patchgithub.com · fbc4bfb
- exploitgithub.com · GHSA-9r9j-57rf-f6vj
FAQ
Common Questions.
XWiki Platform Attachment UI provides a macro to easily upload and select attachments for XWiki Platform, a generic wiki platform.
Affected: Xwiki; org.xwiki.platform:xwiki-platform-attachment-ui (maven) versions >= 14.0-rc-1; xwiki-platform versions >= 14.0-rc-1, < 14.4-rc-1. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-attachment-ui 14.4-rc-1, Xwiki 14.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-36097 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo