CVE-2022-36098
CRITICAL 9.0CVSS 3.1XWiki Platform Mentions UI vulnerable to Cross-site Scripting
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.
- Published
- 8 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-c5v8-2q4r-5w9v
- Sources
- NVDJSONOSV GHSA-c5v8-2q4r-5w9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 12.5, < 13.10.6 | 13.10.6 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 14.0, < 14.4 | 14.4 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-mentions-ui | >= 12.5-rc-1, < 13.10.6 | 13.10.6 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-mentions-ui | >= 14.0, < 14.4 | 14.4 |
References
- https://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610 · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/commit/4f290d87a8355e967378a1ed6aee23a06ba162eb · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v · Exploit, Patch, Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-19752 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-36098 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Sep 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Sep 2022)