Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. insane
  4. ›
  5. CVE-2020-26303

CVE-2020-26303: insane vulnerable to Regular Expression Denial of Service

October 26, 2024 (updated November 13, 2024)

insane is an allowlist-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.

References

  • github.com/advisories/GHSA-w455-mfq9-hf74
  • github.com/bevacqua/insane
  • github.com/bevacqua/insane/issues/19
  • nvd.nist.gov/vuln/detail/CVE-2020-26303
  • securitylab.github.com/advisories/GHSL-2020-289-redos-insane

Code Behaviors & Features

Detect and mitigate CVE-2020-26303 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.6.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/insane/CVE-2020-26303.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.