XSS by SVG upload in xwiki-platform
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
| org.xwiki.platform:xwiki-platform-tool-configuration-resources Maven |
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
| org.xwiki.platform:xwiki-platform-tool-configuration-resources Maven |
|
< 12.10.6
|
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.
From the CVE record · GitHub_M
With XWiki’s default configuration, an attacker can upload an SVG containing a script. The script can execute when someone uses the file’s download action; the input does not specify whether uploading requires authentication.
Teams using Maven packages org.xwiki.platform:xwiki-platform-oldcore or org.xwiki.platform:xwiki-platform-tool-configuration-resources in versions before 12.10.6 or from 13.0 up to, but not including, 13.3RC1 should check.