Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-43841 EUVD-2022-0941GHSA-9jq9-c2cv-pcrj

XSS by SVG upload in xwiki-platform

Published Feb 4, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xwiki xwiki-platform < 12.10.6, >= 13.0, < 13.3RC1 —

Affected packages

References