CVE-2024-51999 Withdrawn Advisory: express improperly controls modification of query properties
Not scored
Published
Updated
Check this codebase for CVE-2024-51999 and fix it if it is affected.
What it is: CVE-2024-51999 is a vulnerability in express, published on 1 Dec 2025.
Exploitation: There is no known exploitation of CVE-2024-51999 in the wild and no public exploit code.
Affected packages and fixed versions:
- express (npm): affected all versions; fixed in 4.22.0
- express (npm): affected all versions; fixed in 4.22.0
- express (npm): affected from 5.0.0; fixed in 5.2.0
- express (npm): affected from 5.0.0; fixed in 5.2.0
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2024-51999/ (Markdown: https://insights.sbomify.com/CVE-2024-51999/index.md)
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2024-51999?
CVE-2024-51999 is a vulnerability in express, published on 1 Dec 2025.
Official description
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. Reason: This candidate was issued in error and is not a valid vulnerability. Notes: All references and descriptions in this candidate have been removed to prevent accidental usage.
Which versions are affected by CVE-2024-51999?
4 open source packages ship an affected version, including express.
| Package | Affected | Fixed in |
|---|---|---|
express npm | All versions | 4.22.0 |
express npm | All versions | 4.22.0 |
express npm | From 5.0.0 | 5.2.0 |
express npm | From 5.0.0 | 5.2.0 |
How do I fix CVE-2024-51999?
Upgrade express to a fixed version for your release line: 4.22.0 or 5.2.0.
Is CVE-2024-51999 being exploited?
There is no known exploitation of CVE-2024-51999 in the wild and no public exploit code.
Sources
Also known as GHSA-pj86-cfqh-vqx6, MINI-5wjc-4h6q-9pqc, MINI-7hmg-x69m-fxp6, MINI-82wj-m6f6-fr43, MINI-835r-mhpr-5fv2, MINI-c73h-3gff-rjqm and 4 more.