GHSA-rmmh-p597-ppvv

Suggest an improvement
Source
https://github.com/advisories/GHSA-rmmh-p597-ppvv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-rmmh-p597-ppvv/GHSA-rmmh-p597-ppvv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rmmh-p597-ppvv
Aliases
Published
2024-02-26T21:31:36Z
Modified
2026-05-05T15:58:22.058391Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Showdown vulnerable to Regular Expression Denial of Service (ReDoS) in link/anchor parsing
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-674",
        "CWE-777"
    ],
    "github_reviewed_at": "2026-04-24T20:36:01Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "nvd_published_at": "2024-02-26T19:15:07Z"
}
References

Affected packages

npm / showdown

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-rmmh-p597-ppvv/GHSA-rmmh-p597-ppvv.json"