GHSA-9r27-994c-4xch – discord-markdown
Package
Manager: npm
Name: discord-markdown
Vulnerable Version: >=0 <2.3.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N/E:U/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
discord-html not escaping HTML code blocks when lacking a language identifier ### Impact Any website using discord-markdown with user-generated markdown is vulnerable to having code injected into the page where the markdown is displayed. ### Patches This has been patched in version 2.3.1 ### Workarounds Escape the characters `<>&` before sending plain code blocks to discord-markdown. ### References https://github.com/brussell98/discord-markdown/issues/13
Metadata
Created: 2020-02-24T17:34:02Z
Modified: 2020-02-21T20:20:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-9r27-994c-4xch/GHSA-9r27-994c-4xch.json
CWE IDs: []
Alternative ID: N/A
Finding: F008
Auto approve: 1