"qs" prototype poisoning vulnerability ( CVE-2022-24999 )
Exploit database
Vulnerability
CVE-2022-24999
Vulnerability details
- Score
- 7.5
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDescription
qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b&a[__proto__]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4 (and therefore Express 4.17.3, which has "deps: [email protected]" in its release description, is not vulnerable).
CVE ProgramExploit source choices
3 sources9pings/cve-2022-24999
2022-04-1824 files · 8 stars
amitgandole-tal/nodejs-cve
amitgandole-tal/nodejs-cve source repository
2025-09-256 files · 0 stars
andrewbearsley/lacework-sca-scan-example
andrewbearsley/lacework-sca-scan-example source repository
2025-05-139 files · 0 stars