showdownjs/showdown · Security
Showdown vulnerable to Regular Expression Denial of Service (ReDoS) in link/anchor parsing
- GHSA ID
- GHSA-rmmh-p597-ppvv
- CVE ID
- CVE-2024-1899
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
Showdownjs, versions <= 2.1.0, anchors subparser used to parse links has a nested regular expression which can lead to denial of service conditions given malicious input.
CWEs
- CWE-674 · Uncontrolled Recursion
- CWE-777 · Regular Expression without Anchors