VYPR
High severityOSV Advisory· Published Sep 8, 2025· Updated Apr 15, 2026

CVE-2025-58451

CVE-2025-58451

Description

Cattown is a JavaScript markdown parser. Versions prior to 1.0.2 used regular expressions with inefficient, potentially exponential worst-case complexity. This could cause excessive CPU usage due to excessive backtracking on crafted inputs. In turn, the excessive CPU usage could lead to resource exhaustion, where processing malicious inputs could cause high CPU or memory usage, potentially leading to denial of service. Version 1.0.2 contains a patch. Additionally, users should review and restrict input sources if untrusted inputs are processed.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
cattownnpm
< 1.0.21.0.2

Affected products

1

Patches

1

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.