Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2022-24999 — qs

HIGHFix: ljharb/qs#428

CVE-2022-24999 is a high-severity (CVSS 7.5) CWE-1321 vulnerability in qs. 3 public exploit references exist, so weaponization risk is real. A fix is available for qs — see the affected versions and patch details below.

qs vulnerable to Prototype Pollution

Also known asGHSA-hrpp-h998-j3pp
Published
Updated
Affected
9 pkgs
Patched
9 / 9
Exploits
3 known
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-24999.

EPSS Exploitation Probability

via FIRST.org ↗
15.6%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs97th percentile — riskier than 97% of all scored CVEsHighest risk
0.00%6.66%13.3%20.0%1.1%15.6%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2022-24999 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 394,803 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

9 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

19Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
qsnpm
121.4Mdownloads / week

Description

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).

Affected Packages

9 total 9 fixed
EcosystemPackageVulnerable rangeFix
📦npmqs≥ 6.10.0&&< 6.10.36.10.3npm install qs@6.10.3
📦npmqs≥ 6.9.0&&< 6.9.76.9.7npm install qs@6.9.7
📦npmqs≥ 6.8.0&&< 6.8.36.8.3npm install qs@6.8.3
📦npmqs≥ 6.7.0&&< 6.7.36.7.3npm install qs@6.7.3
📦npmqs≥ 6.6.0&&< 6.6.16.6.1npm install qs@6.6.1
📦npmqs≥ 6.5.0&&< 6.5.36.5.3npm install qs@6.5.3

Affected Products

3 products · 11 configurations
OS
debian linuxdebian
1 version
10.0
Application
expressopenjsf
< 4.17.3
range
Application
qsqs_project
≥ 6.10.0 && < 6.10.3
2 versions
6.4.06.6.0
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for qs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update qs to 6.10.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-24999 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

- The qs and express Package is not used by the OpenShift Container Platform console directly and is only a third-party package dependency. Hence, it is marked as wontfix. As a result, any services that depend on Openshift for their use of qs and express are marked won't fix. - In OpenShift Service Mesh, 'qs' is…

ProductFixed inAdvisory
MTA-6.0-RHEL-8mta/mta-ui-rhel8:6.0.1-10RHSA-2023:0934
Red Hat Enterprise Linux 8nodejs:14-8070020221212161539.bd1311edRHSA-2023:0050
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020230306170312.522a0ee4RHSA-2023:1533
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aRHSA-2023:1742
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-ui-rhel8:v1.7.8-5RHSA-2023:1428
Red Hat OpenShift Service Mesh 2.2 for RHEL 8openshift-service-mesh/prometheus-rhel8:2.2.7-7RHSA-2023:3645
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.21.1-3.el7RHSA-2023:0612
RHODF-4.12-RHEL-8odf4/mcg-core-rhel8:v4.12.3-4RHSA-2023:3265

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is CVE-2022-24999 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-24999: qs: qs vulnerable to Prototype Pollution