{"cve":"CVE-2021-43841","nvd":{"published":"2022-02-04T23:15:11.957","modified":"2026-06-17T04:11:33.017","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj","https://jira.xwiki.org/browse/XWIKI-18368","https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload","https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2021-43841","score":0.0087,"percentile":0.58808,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9jq9-c2cv-pcrj","url":"https://osv.dev/vulnerability/GHSA-9jq9-c2cv-pcrj","summary":"Cross-site Scripting by SVG upload in xwiki-platform","modified":"2026-07-08T06:27:32.259940237Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":["<12.10.6"],"fixed":["12.10.6"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=13.0 <13.3RC1"],"fixed":["13.3RC1"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-tool-configuration-resources","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources","ranges":[">=13.0 <13.3RC1"],"fixed":["13.3RC1"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-tool-configuration-resources","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources","ranges":["<12.10.6"],"fixed":["12.10.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}