title: Requarks wiki.js - Stored Cross-Site Scripting (XSS) in markdown editor
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.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
product: wiki
vendor: Requarks
versions:
lessThan: unspecified, status: affected, version: 2.0.0-beta.147, versionType: custom
lessThanOrEqual: 2.5.255, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 5.4
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
version: 3.1
]
solutions: Update version to 2.5.260 or later