← Vulnerability feed

Vulnerability record · CVE-2021-25993 · published 29 December 2021

CVE-2021-25993: Requarks wiki.js cross-site scripting vulnerability

Requarks · Wiki.Js

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.

5.4 CVSS 3.1 Medium EPSS 0.62% · top 52.5% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score, v2 3.5
0.62%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-25993 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2025-56643Requarks wiki.js insufficient session expiration vulnerabilityRequarks Wiki.js 2.5.307 does not properly revoke or invalidate active JWT tokens when a user logs out. As a result, previously issued tokens remain …EPSS 0.36%8.6CVE-2026-44224Requarks wiki.js improper privilege management vulnerabilityWiki.js is an open source wiki app built on Node.js. Prior to 2.5.313, the users.update GraphQL mutation accepts an arbitrary groups array and applie…EPSS 0.56%7.5CVE-2021-43800Requarks wiki.js path traversal vulnerabilityWiki.js is a wiki app built on Node.js. Prior to version 2.5.254, directory traversal outside of Wiki.js context is possible when a storage module wi…EPSS 1.7%7.5CVE-2020-15236Requarks wiki.js path traversal vulnerabilityIn Wiki.js before version 2.5.151, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching i…EPSS 1.8%7.2CVE-2022-1681Requarks wiki.js authentication bypass via alternate path vulnerabilityAuthentication Bypass Using an Alternate Path or Channel in GitHub repository requarks/wiki prior to 2.5.281. User can get root user permissionsEPSS 1.9%6.5CVE-2022-23654Requarks wiki.js improper authentication vulnerabilityWiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page o…EPSS 0.72%6.1CVE-2020-4052Requarks wiki.js cross-site scripting vulnerabilityIn Wiki.js before 2.4.107, there is a stored cross-site scripting through template injection. This vulnerability exists due to an insecure validation…EPSS 0.84%5.4CVE-2021-43855Requarks wiki.js cross-site scripting vulnerabilityWiki.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…EPSS 0.89%

Source: NIST National Vulnerability Database (record CVE-2021-25993), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.