Prototype Pollution in Openjsf Express
CVE-2022-24999
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: qs@6.9.7" in its release description, is not vulnerable).
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.157, 96.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openjsf Express
- Qs Project — versions 6.4.0, 6.6.0
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- 9pings/CVE-2022-24999 (8 stars, last pushed 2025-06-22): "qs" prototype poisoning vulnerability ( CVE-2022-24999 )
- n8tz/CVE-2022-24999 (8 stars, last pushed 2025-06-22): "qs" prototype poisoning vulnerability ( CVE-2022-24999 )
Also mentioned in 31 other repositories (amitgandole-tal/nodejs-cve, andrewbearsley/lacework-sca-scan-example, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/expressjs/express/releases/tag/4.17.3 (Release Notes)
- github.com/ljharb/qs/pull/428 (Patch, Issue Tracking)
- github.com/n8tz/CVE-2022-24999 (Exploit, Third Party Advisory)
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3299-1] node-qs security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230908-0005/
This CVE has public exploit evidence. See the latest CVEs with public exploits.