CVE-2019-25102: Regular Expression Denial of Service in simple-markdown
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24517%
CWE
Published
2/12/2023
Updated
10/20/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
simple-markdown | npm | < 0.6.1 | 0.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was explicitly fixed by modifying the autolink regex in simple-markdown.js
(changed from /^<([^ >]+:/[^ >]+)>/ to /^<([^: >]+:/[^ >]+)>/). The commit message and CWE-1333 classification confirm this was an inefficient regex pattern. The attack vector demonstrates exploitation through the autolink parsing logic, and no other code changes were made in the patching commit.