CVE-2021-43841
MEDIUM 5.4CVSS 3.1Cross-site Scripting by SVG upload in xwiki-platform
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.
- Published
- 4 Feb 2022
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-9jq9-c2cv-pcrj
- Sources
- NVDJSONOSV GHSA-9jq9-c2cv-pcrjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 1.0, < 12.10.6 | 12.10.6 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 13.0, <= 13.2 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | < 12.10.6 | 12.10.6 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 13.0, < 13.3RC1 | 13.3RC1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-tool-configuration-resources | >= 13.0, < 13.3RC1 | 13.3RC1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-tool-configuration-resources | < 12.10.6 | 12.10.6 |
References
- https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62 · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj · Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-18368 · Exploit, Patch, Vendor Advisory, WEB
- https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43841 · ADVISORY
- https://github.com/xwiki/xwiki-platform · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Feb 2022)