Vulnerabilities · 2022 · Xwiki
CVE-2022-36097
Xwiki vulnerability
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 products
Xwiki. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xwiki runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- jira.xwiki.org/browse/XWIKI-19667 · Exploit
- github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277 · Patch
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj · Exploit
- raw.githubusercontent.com/xwiki/xwiki-platform/xwiki-platform-14.0-rc-1/xwiki-platform-cor · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-36097
- cve.org/CVERecord?id=CVE-2022-36097
More vulnerabilities in Xwiki products
CVE-2025-66474CVE-2025-66473CVE-2025-65091CVE-2025-65090CVE-2025-65089CVE-2025-58049CVE-2025-55749CVE-2025-55748All 273
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.