CVE-2022-36097

published 8 Sep 2022 · updated 22 Apr 2025

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

9.9CriticalCVSS 8.9EPSS 58%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 58%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
XWikixwiki-platform>=14.0-rc-1 <14.4-rc-1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in XWiki, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-36097 severity on Zeptric[![CVE-2022-36097](https://zeptric.io/badge/cve/CVE-2022-36097.svg)](https://zeptric.io/cve/CVE-2022-36097)