WaratekVRT Sign in

CVE-2022-36098 XWiki

Affected softwareXWiki
Severity9.0 Critical CVSS 3.1 2 scores
Fixed in13.10.6, 14.4
WeaknessCross-site scripting (CWE-79)
Published8 Sep 2022
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 72% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform 4032dc8.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610 : a commit: the change itself

CVSS

9.0 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.9 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L security-advisories@github.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-mentions-ui 12.5-rc-1 13.10.6 unbounded
org.xwiki.platform:xwiki-platform-mentions-ui 14.0 14.4 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-mentions-ui generic ≥ 12.5 and < 13.10.6 · ≥ 14.0 and < 14.4
nvd xwiki xwiki generic ≥ 12.5 and < 13.10.6 · ≥ 14.0 and < 14.4

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610 commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v WEB
https://github.com/xwiki/xwiki-platform/commit/4f290d87a8355e967378a1ed6aee23a06ba162eb WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-19752 WEB

Timeline

Published2022-09-08By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.