CVE-2021-43841

XSS by SVG upload in xwiki-platform

Published Feb 4, 2022 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0941 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.
Github GHSA Github GHSA GHSA-9jq9-c2cv-pcrj Cross-site Scripting by SVG upload in xwiki-platform
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2025, 6:27 PM
Reserved
Nov 16, 2021, 12:00 AM
Status
Modified
Published
Feb 4, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:11 AM