Read the docs
TI-2022-16520 Aliases CVE-2022-36097GHSA-9r9j-57rf-f6vj

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

Priority HIGH 74CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.58162 99th percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Fixed xwiki-platform (xwiki): 14.4-rc-1org.xwiki.platform:xwiki-platform-attachment-ui (Maven): 14.4-rc-1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform14.0-rc-1 to before 14.4-rc-114.4-rc-1Patch availableCNA
—org.xwiki.platform:xwiki-platform-attachment-ui (Maven)14.0-rc-1 to before 14.4-rc-114.4-rc-1Patch availableGHSA-9r9j-57rf-f6vj
  • xwiki-platform VendorXWiki Affected 14.0-rc-1 to before 14.4-rc-1 Fixed in 14.4-rc-1 Patch available CNA
  • org.xwiki.platform:xwiki-platform-attachment-ui (Maven) Vendor— Affected 14.0-rc-1 to before 14.4-rc-1 Fixed in 14.4-rc-1 Patch available GHSA-9r9j-57rf-f6vj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*14.0 to before 14.3VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 14.0 to before 14.3 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 14.4-rc-1
  • Fix · GHSA-9r9j-57rf-f6vj org.xwiki.platform:xwiki-platform-attachment-ui (Maven) Fixed in 14.4-rc-1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-36097
  2. 2026-10-03 Alias added: GHSA-9r9j-57rf-f6vj

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources