Vulnerability · Published Oct 26, 2024 · Assigned by GitHub_M

CVE-2020-26303GHSL-2020-289: Regular Expression Denial of Service (ReDoS) in insane

High 8.7

In plain English

A high-severity regular-expression denial of service in insane from bevacqua. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

insane is a whitelist-oriented HTML sanitizer. Versions 2.6.2 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npminsaneno fix listedGHSA-w455-mfq9-hf74

Affected products (as reported)

VendorProductVersions
bevacqua insane 0 – through 2.6.2

Weakness: CWE-1333 · Vector: 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/U:Green

References