CVE-2021-43855
Wiki.js Stored Cross-Site Scripting Vulnerability
Description
Wiki.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 custom request with a fake MIME type. By creating a crafted SVG file, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the SVG is viewed directly by other users. Scripts do not execute when loaded inside a page via normal `<img>` tags. The malicious SVG can only be uploaded by crafting a custom request to the server with a fake MIME type. A patch in version 2.5.264 fixes this vulnerability by adding an additional file extension verification check to the optional (enabled by default) SVG sanitization step to all file uploads that match the SVG mime type. As a workaround, disable file upload for all non-trusted users.
INFO
Published Date :
Dec. 27, 2021, 6:15 p.m.
Last Modified :
Jan. 7, 2022, 2:01 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-43855
.
URL | Resource |
---|---|
https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f | Patch Third Party Advisory |
https://github.com/Requarks/wiki/releases/tag/2.5.264 | Release Notes Third Party Advisory |
https://github.com/Requarks/wiki/security/advisories/GHSA-4893-pj5w-3hq9 | Exploit Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-43855
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-43855
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jan. 07, 2022
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f No Types Assigned https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f Patch, Third Party Advisory Changed Reference Type https://github.com/Requarks/wiki/releases/tag/2.5.264 No Types Assigned https://github.com/Requarks/wiki/releases/tag/2.5.264 Release Notes, Third Party Advisory Changed Reference Type https://github.com/Requarks/wiki/security/advisories/GHSA-4893-pj5w-3hq9 No Types Assigned https://github.com/Requarks/wiki/security/advisories/GHSA-4893-pj5w-3hq9 Exploit, Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.264
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-43855
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-43855
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.00%
score
0.24475
percentile