CVE-2022-36097
MediumPublic exploitXWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form
Published Sep 16, 2022 · Updated Aug 12, 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 58% 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.
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)
58%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-36097 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 16, 2022
Last updated
Aug 12, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36097.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-36097
- patchhttps://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277
- exploithttps://github.com/xwiki/xwiki-platform/security/advisories/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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo