cattown@1.0.1 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the cattown package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

cattown is an A lightweight, pure JavaScript markdown parser with built-in HTML sanitization using DOMPurify. Converts markdown to clean, safe HTML with customizable styling.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via inefficient regular expression processing. An attacker can cause excessive CPU and memory consumption by submitting specially crafted input patterns.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade cattown to version 1.0.2 or higher.

<1.0.2