ADVISORIES

GitHub Advisory Database

GHSA-qvjc-g5vr-mfgr

Regular Expression Denial of Service in papaparse

Details

Versions of papaparse prior to 5.2.0 are vulnerable to Regular Expression Denial of Service (ReDos). The parse function contains a malformed regular expression that takes exponentially longer to process non-numerical inputs. This allows attackers to stall systems and lead to Denial of Service.

Recommendation

Upgrade to version 5.2.0 or later.

Affected packages

EcosystemPackageAffected versions
npmpapaparse
All versions before 5.2.0 (fixed in 5.2.0)

References