CVE-2022-36097
Last modified
CVE-2022-36097 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 57.39% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | >= 14.0, < 14.3 |
References
- https://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277Patch, Third Party Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vjExploit, Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-19667Exploit, Vendor Advisory
- https://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277Patch, Third Party Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vjExploit, Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-19667Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-36097?
How severe is CVE-2022-36097?
How do I fix CVE-2022-36097?
Are you affected by CVE-2022-36097?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
