CVE-2022-36094

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in maven/org.xwiki.platform/xwiki-platform-web

Identifiers

GHSA-mxf2-4r22-5hq9, CVE-2022-36094

Package Slug

maven/org.xwiki.platform/xwiki-platform-web

Vulnerability

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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 Versions

All versions starting from 1.0 before 13.10.6, all versions starting from 14.0 before 14.3-rc-1

Solution

Upgrade to versions 13.10.6, 14.3-rc-1 or above. Note: 14.3-rc-1 may be an unstable version. Use caution.

Last Modified

2022-09-19

source