PT-2021-23972 · Wiki.Js · Wiki.Js

Published

2021-12-20

·

Updated

2022-01-03

·

CVE-2021-43842

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: Wiki.js versions 2.5.257 and earlier
Description: The issue allows a malicious user to stage a stored cross-site scripting attack by uploading a crafted SVG file. This enables the attacker to execute malicious JavaScript when the SVG is viewed directly by other users. However, scripts do not execute when loaded inside a page via normal <img> tags.
Recommendations: For Wiki.js versions 2.5.257 and earlier, update to version 2.5.260 or later to resolve the issue. As a temporary workaround, consider disabling file upload for all non-trusted users until a patch is applied.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-43842
GHSA-3QV4-GP35-RGH7

Affected Products

Wiki.Js