patchminder
Proof of concept · CISA assessment CVE-2022-36097

Cross-site scriptingin XWiki Platform.

Published 8 Sep 2022 · Updated 22 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 8.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 59.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 14.4-rc-1 or later
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
xwiki-platform
14.0-rc-1 to before 14.4-rc-1
14.4-rc-1
CVE record
org.xwiki.platform:xwiki-platform-attachment-ui (Maven)
14.0-rc-1 to before 14.4-rc-1
14.4-rc-1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jul 2022
    CVE ID reserved by GitHub_M.
  2. 8 Sep 2022
    Published in the CVE List.
  3. 22 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other Platform vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-36097: Cross-site scripting in XWiki Platform. https://patchminder.com/cve/cve-2022-36097/ (accessed 5 December 2026).