GitHub Advisoryadvisory · npm

GHSA-qj3f-9gmq-fwv5 Cross-Site Scripting in simple-markdown

MEDIUM Published 2019-04-09 Modified 2021-09-16 Official page ↗
Aliases
CVE-2019-9844
Ecosystem
npm
Packages
simple-markdown
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2020-06-16

Affected packages

• npm simple-markdown: < 0.4.4 → fixed in 0.4.4

Description

Versions of `simple-markdown` prior to 0.4.4 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization the package may render output containing malicious JavaScript. This vulnerability can be exploited through input of links containing `data` or VBScript URIs and a base64-encoded payload. Recommendation Upgrade to version 0.4.4 or later.

Related

Alias · CVE (1)

  • CVE-2019-9844 simple-markdown.js in Khan Academy simple-markdown before 0.4.4 allows XSS via a data: or vbscript: URI. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References