Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M

CVE-2022-36098XWiki Platform Mentions UI vulnerable to Cross-site Scripting

High 8.9

In plain English

A high-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 71.6% (higher than 99.4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.9High
Exploit odds (30 days)71.6%top 0.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-mentions-ui13.10.6GHSA-c5v8-2q4r-5w9v
Mavenorg.xwiki.platform:xwiki-platform-mentions-ui14.4GHSA-c5v8-2q4r-5w9v

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 12.5-rc-1, < 13.10.6>= 14.0, < 14.4

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

References