Skip to content
OpenAdvisories
High · 8.9 CVE-2022-36094 EUVD-2022-6885GHSA-mxf2-4r22-5hq9

XWiki Platform Web Parent POM vulnerable to XSS in the attachment history

Published Sep 8, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

XWiki Platform Web Parent POM contains Web resources for the XWiki platform, a generic wiki platform. Starting with version 1.0 and prior to versions 13.10.6 and 14.30-rc-1, it's possible to store JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3RC1. As a workaround, it is possible to replace `viewattachrev.vm`, the entry point for this attack, by a patched version from the patch without updating XWiki.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 1.0, < 13.10.6, >= 14.0, < 14.3-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-web >= 1.0, < 13.10.6 13.10.6 GHSA-mxf2-4r22-5hq9
Maven org.xwiki.platform:xwiki-platform-web >= 14.0, < 14.3-rc-1 14.3-rc-1 GHSA-mxf2-4r22-5hq9

References