CVE-2022-36098Xwiki XSS
XWiki Platform Mentions UI vulnerable to Cross-site Scripting
Published Sep 8, 2022 · Updated Oct 28, 2026 · Also known as GHSA-c5v8-2q4r-5w9v
Key Facts
Patch immediately- CVE-2022-36098 is a critical-severity vulnerability (CVSS 9.0 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-mentions-ui (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 72% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-mentions-ui 13.10.6, org.xwiki.platform:xwiki-platform-mentions-ui 14.4, Xwiki 13.10.6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
72%
Higher than 99.4% of all scored CVEs
Exploit maturity
None known
ATLAS score
34/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-36098
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-36098
- advisoryGHSA advisory
- patchhttps://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610
- patchhttps://github.com/xwiki/xwiki-platform/commit/4f290d87a8355e967378a1ed6aee23a06ba162eb
- patchhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v
Description
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | See advisory | 13.10.6 |
| org.xwiki.platform:xwiki-platform-mentions-uimaven | >= 12.5-rc-1 | 14.4 |
| xwiki-platform | >= 12.5-rc-1, < 13.10.6 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-mentions-ui
13.10.6, 14.4
Xwiki
13.10.6
Timeline
Publicly disclosed
Sep 8, 2022
Last updated
Oct 28, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-36098
- advisoryGHSA advisory
- patchgithub.com · 4032dc8
- patchgithub.com · 4f290d8
FAQ
Common Questions.
XWiki Platform Mentions UI is a user interface for mentioning users in wiki content for XWiki Platform, a generic wiki platform.
Affected: Xwiki; org.xwiki.platform:xwiki-platform-mentions-ui (maven) versions >= 12.5-rc-1; xwiki-platform versions >= 12.5-rc-1, < 13.10.6. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-mentions-ui 13.10.6, org.xwiki.platform:xwiki-platform-mentions-ui 14.4, Xwiki 13.10.6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-36098 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo