{"id":"CVE-2021-43841","published":"2022-02-04T22:30:14Z","modified":"2025-04-22T18:27:22Z","title":"XSS by SVG upload in xwiki-platform","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0087,"percentile":0.59677,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18368","tags":["x_refsource_MISC"]},{"url":"https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":11.94},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 12.10.6",">= 13.0, < 13.3RC1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:51:33.073514Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","vulnerableRanges":["<12.10.6",">=13.0, <13.3RC1"],"patched":["12.10.6","13.3RC1"],"from":["GHSA-9jq9-c2cv-pcrj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-tool-configuration-resources","vulnerableRanges":[">=13.0, <13.3RC1","<12.10.6"],"patched":["13.3RC1","12.10.6"],"from":["GHSA-9jq9-c2cv-pcrj"],"provenance":"source"}],"summary":{"text":"The XSS flaw affects the xwiki-platform product from XWiki, a generic wiki platform, and stems from how it handles uploaded SVG files under default configuration. An authenticated user with low privileges who can upload files can craft an SVG containing a script that executes in a victim's browser when that victim interacts with the download action on the file, requiring user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:56Z"},"euvd":{"id":"EUVD-2022-0941","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-29459","published":"2021-04-20","fixed":"12.8","kev":false,"link":{"from":"CVE-2021-29459","to":"CVE-2021-43841","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"12.8","toFixed":"12.10.6","daysApart":290}]}},{"cve":"CVE-2022-23615","published":"2022-02-09","fixed":"13.0","kev":false},{"cve":"CVE-2022-23617","published":"2022-02-09","fixed":"13.2-rc-1","kev":false,"link":{"from":"CVE-2022-23617","to":"CVE-2021-43841","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"13.2-rc-1","toFixed":"13.3RC1","daysApart":-5}]}},{"cve":"CVE-2021-43841","published":"2022-02-04","fixed":"13.3RC1","kev":false},{"cve":"CVE-2022-23618","published":"2022-02-09","fixed":"13.3RC1","kev":false},{"cve":"CVE-2022-23621","published":"2022-02-09","fixed":"13.7-rc-1","kev":false},{"cve":"CVE-2022-29253","published":"2022-05-25","fixed":"13.10.3","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-oldcore"}}