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

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. 72.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 13.10.6, 14.4
In plain words

XWiki Platform Mentions UI is a user interface for mentioning users in wiki content for XWiki Platform, a generic wiki platform. Starting in version 12.5-rc-1 and prior to versions 13.10.6 and 14.4, it's possible to store Javascript or groovy scripts in a mention, macro anchor, or reference field. The stored code is executed by anyone visiting the page with the mention. This issue has been patched on XWiki 14.4 and 13.10.6. As a workaround, one may update `XWiki.Mentions.MentionsMacro` and edit the `Macro code` field of the `XWiki.WikiMacroClass` XObject.

What to do now
  • Upgrade xwiki-platform to 13.10.6, 14.4 or later, whichever matches your release line.
  • Upgrade org.xwiki.platform:xwiki-platform-mentions-ui (Maven) to 13.10.6, 14.4 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
xwiki-platform
12.5-rc-1 to before 13.10.6
13.10.6
CVE record
xwiki-platform
14.0 to before 14.4
14.4
CVE record
org.xwiki.platform:xwiki-platform-mentions-ui (Maven)
12.5-rc-1 to before 13.10.6
13.10.6
GitHub advisory
org.xwiki.platform:xwiki-platform-mentions-ui (Maven)
14.0 to before 14.4
14.4
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-36098: Cross-site scripting in XWiki Platform. https://patchminder.com/cve/cve-2022-36098/ (accessed 5 December 2026).