Skip to main content
← All vulnerabilities
CVE-2022-36097GHSA-9R9J-57RF-F6VJ

XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form

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

Summary

XWiki Platform Attachment UI provides a macro to easily upload and select attachments for XWiki Platform, a generic wiki platform. Starting with version 14.0-rc-1 and prior to 14.4-rc-1, it's possible to store JavaScript in an attachment name, which will be executed by anyone trying to move the corresponding attachment. This issue has been patched in XWiki 14.4-rc-1. As a workaround, one may copy `moveStep1.vm` to `webapp/xwiki/templates/moveStep1.vm` and replace vulnerable code with code from the patch.

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 14.0-rc-1 · fixed in 14.4-rc-1

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

    From 14.0-rc-1 · fixed in 14.4-rc-1

References 4

GitHub · xwiki/xwiki-platform

jira.xwiki.org

raw.githubusercontent.com