What’s Vulnerable › Vulnerabilities
CVE-2021-25993: Requarks wiki.js - Stored Cross-Site Scripting (XSS) in markdown editor
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-29 · updated 2026-06-17
- Weakness: CWE-79
Description
In Requarks wiki.js, versions 2.0.0-beta.147 to 2.5.255 are affected by Stored XSS vulnerability, where a low privileged (editor) user can upload a SVG file that contains malicious JavaScript while uploading assets in the page. That will send the JWT tokens to the attacker’s server and will lead to account takeover when accessed by the victim.
Affected products
- Requarks wiki: from 2.0.1 through 2.5.255; 2.0.0-beta147, 2.0.0-beta148, 2.0.0-beta174, 2.0.0-beta180, 2.0.0-beta203, 2.0.0-beta208 (+8)
References
- https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25993
- https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25993
Get alerted when CVE-2021-25993 or the next vulnerability affects your stack