LiveActive security incident?Get immediate response
CVE Record

CVE-2020-26306: GHSL-2020-296: Regular Expression Denial of Service (ReDoS) in Knwl.js

Knwl.js is a Javascript library that parses through text for dates, times, phone numbers, emails, places, and more. Versions 1.0.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.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Knwl.js can be forced into excessive CPU work while parsing specially shaped text. If an application feeds user-controlled text into affected Knwl.js versions, attackers may degrade availability without authentication. Sources state versions 1.0.2 and prior are affected and that no patch was known at publication.

Executive priority

Prioritize review if Knwl.js handles public input in production services, because the impact is service availability. If usage is internal, trusted, or non-runtime, urgency is lower but dependency replacement should still be planned due to absent patch evidence.

Technical view

CVE-2020-26306 is a CWE-1333 regular expression denial-of-service issue in Knwl.js text parsers. The CVSS v4.0 score is 8.7, driven by network reachability, low complexity, no privileges, no user interaction, and high availability impact. The supplied sources do not identify confidentiality or integrity impact.

Likely exposure

Exposure is most likely in JavaScript applications that include Knwl.js 1.0.2 or earlier and parse untrusted or externally supplied text, such as messages, forms, documents, or API input. The source bundle does not establish whether downstream packages bundle Knwl.js.

Exploitation context

The CVE is not listed as CISA KEV in the provided bundle, and no cited source states active exploitation. The practical risk is availability loss when attacker-controlled text reaches the vulnerable regular expressions. No exploit steps are provided here.

Researcher notes

Evidence is narrow but consistent: GHSL reports ReDoS in Knwl.js and the CVE assigns high availability impact. The affected-version text names 1.0.2 and prior, while the provided affected metadata is sparse, so confirm exact package coordinates during inventory.

Mitigation direction

  • Check vendor and project guidance before assuming a patched release exists.
  • Remove or replace Knwl.js where it processes untrusted text.
  • Restrict Knwl parsing to trusted or bounded-size inputs.
  • Add request timeouts and CPU safeguards around text parsing paths.
  • Monitor the GitHub issue and advisory for patch status changes.

Validation and detection

  • Review SBOMs and lockfiles for Knwl.js versions 1.0.2 or earlier.
  • Map every path where user-controlled text reaches Knwl parsing.
  • Confirm whether parsing runs in request-critical services or background jobs.
  • Check existing length limits, timeouts, and worker isolation controls.
  • Track compensating controls as temporary risk treatment, not a vendor fix.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1333: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-26306 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 4.0HighCVSS: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:GreenPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.7High
CVSS 4.0 vector shape for CVE-2020-26306Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
benhmooreKnwl0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1333 · source CWE mapping

Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.