Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M

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

High 8.9

In plain English

A high-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 64.8% (higher than 99.2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.9High
Exploit odds (30 days)64.8%top 0.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-web13.10.6GHSA-mxf2-4r22-5hq9
Mavenorg.xwiki.platform:xwiki-platform-web14.3-rc-1GHSA-mxf2-4r22-5hq9

Affected products (as reported)

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

Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

References