CVE-2022-36098: XWiki Platform Mentions UI vulnerable to Cross-site Scripting
CVE-2022-36098 is not on CISA's Known Exploited Vulnerabilities list as of 4 December 2026, but EPSS estimates a 72.3% chance of exploitation attempts in the next 30 days, higher than 99.4% of all scored vulnerabilities.
- Exploited in real attacks
- Not confirmed by CISA as of 4 December 2026
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 72.3% in the next 30 days, higher than 99.4% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 8.9 High (version 3.1)
- Affects
- xwiki xwiki-platform
- Type of flaw
- Cross-site scripting (CWE-79)
- Published
- 8 September 2022
What it is
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.
Description from the CVE record.
Is CVE-2022-36098 being exploited?
CVE-2022-36098 is not in CISA's catalog, which currently lists 1,814 vulnerabilities. That does not mean it is safe. The catalog only includes cases CISA has confirmed, and the EPSS model, which predicts exploitation from observed attack traffic and other signals, rates this one at 72.3%. Fewer than 1 in 100 scored vulnerabilities rate higher.
Affected products
- xwiki-platform: >= 12.5-rc-1, < 13.10.6; >= 14.0, < 14.4
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
Apply the vendor's fix or mitigation, using the advisories in the sources below. Until it is patched, limit who can reach the affected system, especially from the internet.
How to check whether you are exposed
- Find every copy. List each place xwiki-platform runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in xwiki-platform. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in xwiki products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-24893 | XWiki Platform | Public exploit | 99.9% | 20 February 2025 |
| CVE-2024-21650 | xwiki-platform | Public exploit | 94.4% | 8 January 2024 |
| CVE-2023-37462 | xwiki-platform | Public exploit | 91.6% | 14 July 2023 |
| CVE-2023-46731 | xwiki-platform | No public exploit found | 89.7% | 6 November 2023 |
| CVE-2025-32429 | xwiki-platform | Public exploit | 85.2% | 24 July 2025 |
| CVE-2023-50719 | xwiki-platform | Public exploit | 83.5% | 15 December 2023 |
Sources
- CVE record for CVE-2022-36098
- NVD entry
- FIRST EPSS, scores dated 5 December 2026
- github.com (x_refsource_CONFIRM)
- github.com (x_refsource_MISC)
- github.com (x_refsource_MISC)
- jira.xwiki.org (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2022-36098.json