CVE-2025-58451
JavaScript vulnerability analysis and mitigation

Overview

Cattown, a JavaScript markdown parser, was found to contain security vulnerabilities in versions prior to 1.0.2. The vulnerability was discovered and disclosed on September 7, 2025, and was assigned CVE-2025-58451. The issue affects the regular expression handling in the markdown parsing functionality, specifically impacting all versions of Cattown below 1.0.2 (GitHub Advisory).

Technical details

The vulnerability stems from two main technical issues: inefficient regular expression complexity (CWE-1333) and uncontrolled resource consumption (CWE-400). The package used regular expressions with potentially exponential worst-case complexity, which could cause excessive CPU usage due to excessive backtracking on crafted inputs. The CVSS v4.0 base score for this vulnerability is 8.7 (High), with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (NVD).

Impact

The vulnerability can lead to denial of service conditions through two primary mechanisms: excessive CPU consumption and resource exhaustion. When processing malicious inputs, the application could experience high CPU or memory usage, potentially affecting service availability. The impact is particularly significant as it requires no user interaction and can be triggered remotely (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.0.2 of Cattown. Users are strongly encouraged to upgrade to this version to mitigate the risks. Additionally, it is recommended to review and restrict input sources if untrusted inputs are processed. The patch includes improvements to the inline tokenizer to prevent excessive backtracking and implement input length limits (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management