Vulnerability DatabaseGHSA-qvjc-g5vr-mfgr

GHSA-qvjc-g5vr-mfgr
JavaScript vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in papaparse versions prior to 5.2.0. The vulnerability was identified on April 2, 2020, and was assigned the identifier GHSA-qvjc-g5vr-mfgr. The issue affects the parse function of the papaparse package, which is a fast in-browser CSV parser for JavaScript (GitHub Advisory).

Technical details

The vulnerability stems from a malformed regular expression used to detect numbers within the package. The problematic pattern was identified in the expression var FLOAT = /^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i. This regex pattern takes exponentially longer to process non-numerical inputs, leading to catastrophic backtracking. The vulnerability received a CVSS score of 7.5 (High), with attack vector being Network, attack complexity Low, and no privileges or user interaction required (Snyk, GitHub Issue).

Impact

When exploited, this vulnerability can cause a significant performance degradation, leading to a denial of service condition. Testing showed that processing 10,000 characters of non-numerical input took 0.57 seconds, while 100,000 characters took over 57 seconds, demonstrating exponential growth in processing time. This can result in total loss of availability while the attack is ongoing (GitHub Issue).

Exploitability

The vulnerability is easily exploitable with no special conditions required. An attacker can trigger the ReDoS condition by providing specially crafted non-numerical input to the parse function when dynamic typing is enabled. A proof-of-concept exploit has been publicly documented, demonstrating the attack's effectiveness (Snyk).

Mitigation and workarounds

The vulnerability was patched in version 5.2.0 by modifying the regular expression pattern to /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)(e[-+]?\d+)?\s*$/. Users are recommended to upgrade to version 5.2.0 or later to address this security issue (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 2026

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