Resource Exhaustion Vulnerability in Cattown JavaScript Markdown Parser
CVE-2025-58451
8.7HIGH
What is CVE-2025-58451?
The Cattown JavaScript markdown parser, versions prior to 1.0.2, is susceptible to a vulnerability that can lead to resource exhaustion. This issue arises from the use of regular expressions with inefficient, potentially exponential worst-case complexity. When processing specially crafted inputs, the parser may experience excessive CPU utilization due to extensive backtracking, ultimately resulting in denial of service. The recent patch in version 1.0.2 addresses this vulnerability. Users are advised to limit and monitor untrusted input sources to enhance security.
Affected Version(s)
Cattown < 1.0.2