CVE-2021-43855
Stored XSS via SVG in Requarks/wiki
Mitigation
- Upgrade wiki to 2.5.264 or later.
Who should check
- Anyone running Requarks wiki < 2.5.264
Vulnerability facts
- Affected
- Requarks wiki < 2.5.264
- Fixed in
- Requarks wiki 2.5.264
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.92% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Wiki.js is a wiki app built on node.js. Wiki.js 2.5.263 and earlier is vulnerable to stored cross-site scripting through a SVG file upload made via a custom request with a fake MIME type. By creating a crafted SVG file, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the SVG is viewed directly by other users. Scripts do not execute when loaded inside a page via normal `<img>` tags. The malicious SVG can only be uploaded by crafting a custom request to the server with a fake MIME type. A patch in version 2.5.264 fixes this vulnerability by adding an additional file extension verification check to the optional (enabled by default) SVG sanitization step to all file uploads that match the SVG mime type. As a workaround, disable file upload for all non-trusted users.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Requarks wiki | < 2.5.264 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-43855. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-43855.md Affected: Requarks wiki < 2.5.264 Fixed in: Requarks wiki 2.5.264 Steps: 1. Search this machine and project for Requarks wiki: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-43855 being exploited?
There is no confirmed exploitation: CVE-2021-43855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-43855?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2021-43855?
Requarks wiki < 2.5.264.
Is there a fix for CVE-2021-43855?
Yes. Fixed in Requarks wiki 2.5.264. Upgrade wiki to 2.5.264 or later.
How do I check if I'm affected by CVE-2021-43855?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.