Moderate severityNVD Advisory· Published Feb 4, 2022· Updated Apr 22, 2025
XSS by SVG upload in xwiki-platform
CVE-2021-43841
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-oldcoreMaven | < 12.10.6 | 12.10.6 |
org.xwiki.platform:xwiki-platform-oldcoreMaven | >= 13.0, < 13.3RC1 | 13.3RC1 |
org.xwiki.platform:xwiki-platform-tool-configuration-resourcesMaven | >= 13.0, < 13.3RC1 | 13.3RC1 |
org.xwiki.platform:xwiki-platform-tool-configuration-resourcesMaven | < 12.10.6 | 12.10.6 |
Affected products
3- ghsa-coords2 versionspkg:maven/org.xwiki.platform/xwiki-platform-oldcorepkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources
< 12.10.6+ 1 more
- (no CPE)range: < 12.10.6
- (no CPE)range: >= 13.0, < 13.3RC1
- Range: < 12.10.6
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-9jq9-c2cv-pcrjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43841ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrjghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-18368ghsax_refsource_MISCWEB
- www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachmentsghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.