Cross-site Scripting by SVG upload in xwiki-platform
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
- Email us at security ML
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-oldcore | < 12.10.6, >= 13.0, < 13.3RC1 | 12.10.6, 13.3RC1 |
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-tool-configuration-resources | >= 13.0, < 13.3RC1, < 12.10.6 | 13.3RC1, 12.10.6 |
Verweise
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj
- https://nvd.nist.gov/vuln/detail/CVE-2021-43841
- https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62
- https://github.com/xwiki/xwiki-platform
- https://jira.xwiki.org/browse/XWIKI-18368
- https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N- Schwäche (CWE)
CWE-79- Plattform
- Java / Kotlin (Maven)
- Paket
org.xwiki.platform:xwiki-platform-oldcore, org.xwiki.platform:xwiki-platform-tool-configuration-resources- Veröffentlicht
- 10.02.2022
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-9jq9-c2cv-pcrj - CC BY 4.0
Schwachstellenhistorie: org.xwiki.platform:xwiki-platform-oldcore
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 46
- Erste → letzte
- 09.2020 07.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 12
- Hoch 17
- Mittel 15
- Niedrig 2
Veröffentlichungen pro Jahr
- 2020: 2
- 2021: 1
- 2022: 12
- 2023: 15
- 2024: 7
- 2025: 6
- 2026: 3
-
Cross-site Scripting by SVG upload in xwiki-platform dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.