Skip to content
Fencer Intel
high 8.9

CVE-2022-36098 in the critical feed json

XWiki Platform Mentions UI vulnerable to Cross-site Scripting

published 4y ago modified 4mo 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

Is CVE-2022-36098 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
last yr.

Exploit prediction

71.61% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.