XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form
Published Sep 8, 2022
8.9
HIGHCVSS 3.1
EPSS 58.16%
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.
Affected products
-
- Version >= 14.0-rc-1, < 14.4-rc-1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Xwiki | Xwiki-Platform | n/a |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (7)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6764 Advisory
- https://github.com/advisories/GHSA-9r9j-57rf-f6vj Advisory
- https://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277 x_refsource_MISCPatchThird Party Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj x_refsource_CONFIRMExploitThird Party Advisory
- https://jira.xwiki.org/browse/XWIKI-19667 x_refsource_MISCExploitVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-36097
- 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 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6764 | Advisory | |
| https://github.com/advisories/GHSA-9r9j-57rf-f6vj | Advisory | |
| https://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj | x_refsource_CONFIRMExploitThird Party Advisory | |
| https://jira.xwiki.org/browse/XWIKI-19667 | x_refsource_MISCExploitVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-36097 | ||
| 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 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.