# CVE-2021-25993: Requarks wiki.js - Stored Cross-Site Scripting (XSS) in markdown editor

- Severity: Medium 5.4 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-29T16:50:09.782Z
- Modified: 2026-06-17T03:42:44.997Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Mend

## 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.

(As written by CVE List.)

## Affected

- Requarks wiki: from 2.0.0-beta.147 before unspecified; from unspecified up to 2.5.255
- requarks wiki.js: from 2.0.1 up to 2.5.255; 2.0.0

## Every score

- Mend: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25993> (exploit, third-party-advisory)
- <https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25993](https://www.cve.org/CVERecord?id=CVE-2021-25993), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2021-25993](https://nvd.nist.gov/vuln/detail/CVE-2021-25993), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25993 · Whole record: https://cve.day/CVE-2021-25993.json · Rebuilt by cve.day 2026-11-25T22:58:06.294Z
