
Cloud Vulnerability DB
A community-led vulnerabilities database
docsify version 4.12.1 contains a Cross Site Scripting (XSS) vulnerability identified as CVE-2021-30074. The vulnerability exists in the search component which does not properly encode Code Blocks and mishandles the " character. This issue was discovered and disclosed on April 2, 2021 (NVD).
The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The issue is classified as CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). The vulnerability specifically affects the search component's handling of code blocks and the " character, which can lead to XSS when rendering markdown content (NVD).
When exploited, this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the victim's browser. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (NVD).
The vulnerability can be triggered when a user searches for content containing specially crafted XSS payloads. The search component fails to properly sanitize the input, allowing JavaScript code that should be rendered as markdown to be executed instead (GitHub Issue).
Users should upgrade to a version newer than docsify 4.12.1 that contains fixes for this vulnerability. If upgrading is not immediately possible, careful input validation and output encoding should be implemented when handling search queries (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."