Skip to content

CVE-2022-36094 XWiki Platform Web Parent POM vulnerable to XSS in the attachment history

CriticalCVSS 9.0 EPSS 64.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-web(Maven) >= 1.0, < 13.10.6; >= 14.0, < 14.3-rc-1 13.10.6, 14.3-rc-1 Fixed
xwiki >= 1.0, < 13.10.6; >= 14.0, < 14.3 13.10.6, 14.3 Fixed
xwiki-platform = >= 1.0, < 13.10.6; = >= 14.0, < 14.3-rc-1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-web(Maven) >= 1.0, < 13.10.6 13.10.6
org.xwiki.platform/xwiki-platform-web(Maven) >= 14.0, < 14.3-rc-1 14.3-rc-1
xwiki-platform = >= 1.0, < 13.10.6 No fix listed
xwiki-platform = >= 14.0, < 14.3-rc-1 No fix listed
xwiki >= 1.0, < 13.10.6 13.10.6
xwiki >= 14.0, < 14.3 14.3

References