Cross-site scriptingin XWiki Platform.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade xwiki-platform to 14.4-rc-1 or later.
- Upgrade org.xwiki.platform:xwiki-platform-attachment-ui (Maven) to 14.4-rc-1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Jul 2022CVE ID reserved by GitHub_M.
- 8 Sep 2022Published in the CVE List.
- 22 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Platform vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- jira.xwiki.org x_refsource_MISC
- raw.githubusercontent.com x_refsource_MISC
Patchminder. CVE-2022-36097: Cross-site scripting in XWiki Platform. https://patchminder.com/cve/cve-2022-36097/ (accessed 5 December 2026).