SB2021121906 - Cross-site scripting in Wiki.js
Published: December 19, 2021 Updated: April 28, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Cross-site scripting (CVE-ID: CVE-2021-43842)
The vulnerability allows a remote user to execute arbitrary JavaScript in the victim's browser.
The vulnerability exists due to cross-site scripting in SVG file upload handling when processing a crafted SVG file upload. A remote user can upload a specially crafted SVG file to execute arbitrary JavaScript in the victim's browser.
Scripts execute when the uploaded SVG is viewed directly by other users, but not when it is loaded inside a page via normal img tags.
Remediation
Install update from vendor's website.