CVE-2021-43841
lowpriority · track · 22EPSS 0.009 · 59 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–5.4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-oldcore< 12.10.6osvUSpkg:maven/org.xwiki.platform/xwiki-platform-oldcore
- Maven org.xwiki.platform:xwiki-platform-oldcore13.0 → 13.3RC1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-oldcore
- Maven org.xwiki.platform:xwiki-platform-tool-configuration-resources< 12.10.6osvUSpkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources
- Maven org.xwiki.platform:xwiki-platform-tool-configuration-resources13.0 → 13.3RC1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9jq9-c2cv-pcrjCross-site Scripting by SVG upload in xwiki-platform2022-02-10ghsa · osvUS
### Impact 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. ### Patches This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser. ### Workarounds This issue can be fixed without the patch by setting properly the configuration to download or display files, see: https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload ### References https://jira.xwiki.org/browse/XWIKI-18368 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira](http://jira.xwiki.org) * Email us at [security ML](mailto:security@xwiki.org)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrjcnnvd
- https://jira.xwiki.org/browse/XWIKI-18368cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-43841cnnvd
- https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownloadcnnvd
- https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrjenisa_euvd
- https://jira.xwiki.org/browse/XWIKI-18368enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan