{"id":"CVE-2021-25993","published":"2021-12-29T16:50:09Z","modified":"2025-04-30T15:43:38Z","title":"Requarks wiki.js - Stored Cross-Site Scripting (XSS) in markdown editor","vendor":"Requarks","product":"wiki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00639,"percentile":0.51551,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25993","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":10.31},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"requarks","affectedVersions":[{"vendor":"Requarks","product":"wiki","versions":[">= 2.0.0-beta.147, < unspecified",">= unspecified, <= 2.5.255"]}],"solutions":{"items":["Update version to 2.5.260 or later"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T15:27:28.139032Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-12818","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-requarks-wiki-cve-2021-43842","parents":[{"from":"CVE-2021-43855","to":"CVE-2021-25993","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/models/assets.js"],"commits":["https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718","https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f"],"basis":"shared function","functions":["Asset"]}]},{"from":"CVE-2021-43856","to":"CVE-2021-25993","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["client/components/admin/admin-security.vue","server/graph/resolvers/site.js","server/graph/schemas/site.graphql","server/models/assets.js"],"commits":["https://github.com/Requarks/wiki/commit/5d3e81496fba1f0fbd64eeb855f30f69a9040718","https://github.com/Requarks/wiki/commit/79bdd4409316adf649806de3e22352297f85cee0"],"basis":"shared function","functions":["Asset"]}]}]}}