{"id":"GHSA-qvjc-g5vr-mfgr","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 5.2.0 or later.","aliases":["CVE-2020-36649"],"modified":"2025-06-16T14:12:14.225514Z","published":"2020-09-04T18:03:04Z","database_specific":{"cwe_ids":["CWE-185"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T19:02:01Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36649"},{"type":"WEB","url":"https://github.com/mholt/PapaParse/issues/777"},{"type":"WEB","url":"https://github.com/mholt/PapaParse/pull/779"},{"type":"WEB","url":"https://github.com/mholt/PapaParse/commit/235a12758cd77266d2e98fd715f53536b34ad621"},{"type":"PACKAGE","url":"https://github.com/mholt/PapaParse"},{"type":"WEB","url":"https://github.com/mholt/PapaParse/releases/tag/5.2.0"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PAPAPARSE-564258"},{"type":"WEB","url":"https://vuldb.com/?ctiid.218004"},{"type":"WEB","url":"https://vuldb.com/?id.218004"}],"affected":[{"package":{"name":"papaparse","ecosystem":"npm","purl":"pkg:npm/papaparse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-qvjc-g5vr-mfgr/GHSA-qvjc-g5vr-mfgr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}