CVE-2022-36098 in the critical feed json
XWiki Platform Mentions UI vulnerable to Cross-site Scripting
published 2022-09-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-c5v8-2q4r-5w9v , EUVD-2022-6775
- cvss
- 8.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 71.6%
- EPSS 71.6% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-mentions-ui 13.10.6, 14.4
- xwiki xwiki 13.10.6, 14.4
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
71.61% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v referenced PoC, tagged "exploit" by a source, unverified
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-19752 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-mentions-ui | >=12.5-rc-1, <13.10.6 >=14.0, <14.4 |
13.10.6 14.4 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669
web, patch, third-party-advisory
-
github.com
/xwiki/xwiki-platform/commit/4f290d87a8355e967378a1ed6aee23a06ba162eb
web, patch, third-party-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v
web, exploit, patch, third-party-advisory
-
jira.xwiki.org
/browse/XWIKI-19752
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36098
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2022-36098
- GitHub Advisory GHSA-c5v8-2q4r-5w9v
- NVD CVE-2022-36098
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.