CVE-2020-26303
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w455-mfq9-hf74

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

Product or packageVersionsReported by
bevacqua insaneup to 2.6.2CVE List, NVD
insane (npm)up to 2.6.2GitHub Advisory Database

All scores

GitHub_M8.7high CVSS:4.0CVSS: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
GitHub7.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

insane es un sanitizador HTML orientado a listas blancas. Las versiones 2.6.2 y anteriores contienen una o más expresiones regulares que son vulnerables a la denegación de servicio de expresiones regulares (ReDoS). Al momento de la publicación, no se conocen parches disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26303 changed 2024-10-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-w455-mfq9-hf74 changed 2024-11-13CC-BY-4.0
NVDCVE-2020-26303 changed 2026-06-17Public domain