CVE-2020-26304
JavaScript vulnerability analysis and mitigation

Overview

Foundation, a front-end framework, was found to contain a vulnerability in versions 6.3.3 and prior where one or more regular expressions were susceptible to Regular Expression Denial of Service (ReDoS). The vulnerability was discovered by GitHub Security Lab team member Erik Krogh Kristensen and was assigned CVE-2020-26304 (GitHub Advisory, NVD).

Technical details

The vulnerability involves poorly constructed regular expressions that can exhibit exponential backtracking behavior (O(2^n) runtime performance). Three URL regular expressions were identified as vulnerable through CodeQL analysis. The issue received a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating a high-severity vulnerability with network accessibility and no required privileges or user interaction (NVD).

Impact

While Foundation is primarily a frontend framework, the vulnerability could lead to denial of service attacks. If a server pre-fills inputs and an attacker controls those inputs, they could potentially crash victims' browsers. The vulnerability primarily affects the URL validation functionality in the framework (GitHub Advisory).

Mitigation and workarounds

As of the initial disclosure, no fixes were available for this vulnerability. Recent reports from December 2024 indicate that the vulnerability remains unaddressed, with the problematic regex code last modified in 2018 (GitHub Issue).

Community reactions

The vulnerability has been acknowledged by the Foundation team, though initial responses suggesting it might have been fixed among other vulnerability updates in 2021 proved incorrect. The issue continues to be reported by various security tools including AWS Inspector as of January 2025 (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management