Live threats

All CVEs / Xwiki

CVE-2022-36098Xwiki

Critical 9.0

Priority
54
CVSS 3.1
9.0
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
Yes
Published
Sep 8, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.platform:xwiki-platform-mentions-ui ≥ 12.5-rc-1 < 13.10.6 13.10.6 —
Maven org.xwiki.platform:xwiki-platform-mentions-ui ≥ 14.0 < 14.4 14.4 —

Per OSV / GitHub Advisories (GHSA-c5v8-2q4r-5w9v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikixwiki≥ 12.5 < 13.10.6
xwikixwiki≥ 14.0 < 14.4

Official sources

References

Links published by the sources. Open them with care.