Skip to main content
← All vulnerabilities
CVE-2022-36098GHSA-C5V8-2Q4R-5W9V

XWiki Platform Mentions UI vulnerable to Cross-site Scripting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.10.6, 14.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • xwiki xwiki-platform

    From 12.5-rc-1 · fixed in 13.10.6; From 14.0 · fixed in 14.4

  • org.xwiki.platform:xwiki-platform-mentions-uiMaven

    From 12.5-rc-1 · fixed in 13.10.6

  • org.xwiki.platform:xwiki-platform-mentions-uiMaven

    From 14.0 · fixed in 14.4

References 4

GitHub · xwiki/xwiki-platform

jira.xwiki.org