XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 14.0-rc-1 to before 14.4-rc-1 | 14.4-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-attachment-ui (Maven) | 14.0-rc-1 to before 14.4-rc-1 | 14.4-rc-1 | Patch available | GHSA-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
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
- 2026-10-02 Threatist record created from CVE-2022-36097
- 2026-10-03 Alias added: GHSA-9r9j-57rf-f6vj
References
Exploit 3
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj
- https://jira.xwiki.org/browse/XWIKI-19667
- https://raw.githubusercontent.com/xwiki/xwiki-platform/xwiki-platform-14.0-rc-1/xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/main/resources/templates/attachment/moveStep1.vm
More Xwiki vulnerabilities
- 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
Sources
- CVE-2022-36097 · CVE Program
- CVE-2022-36097 · NVD
- FIRST EPSS
- GHSA-9r9j-57rf-f6vj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences