Vulnerability · Published Feb 4, 2022 · Assigned by GitHub_M

CVE-2021-43841XSS by SVG upload in xwiki-platform

Medium 5.4

In plain English

A medium-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 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.9%top 41.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

XWiki is a generic wiki platform offering runtime services for applications built on top of it. When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file. This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser. Users are advised to update or to disallow uploads of SVG files.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-oldcore12.10.6GHSA-9jq9-c2cv-pcrj
Mavenorg.xwiki.platform:xwiki-platform-oldcore13.3RC1GHSA-9jq9-c2cv-pcrj
Mavenorg.xwiki.platform:xwiki-platform-tool-configuration-resources13.3RC1GHSA-9jq9-c2cv-pcrj
Mavenorg.xwiki.platform:xwiki-platform-tool-configuration-resources12.10.6GHSA-9jq9-c2cv-pcrj

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 12.10.6>= 13.0, < 13.3RC1

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

References