VulnarioBlogExpress.js vulnerabilities
Express.js Vulnerabilities: The 5 Most Critical Express.js Security Bugs (CVEs)
Express.js vulnerabilities are security flaws in Express.js that attackers can abuse to steal data, take over a server or interrupt a service. Express.js is the most popular web framework for Node.js. The National Vulnerability Database (NVD) lists 5 CVEs for Express.js, 0 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 5 most critical Express.js security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Express.js security basics, the current end-of-life dates and a free way to be told about the next Express.js CVE as soon as it is published.
Key takeaways
- No Express.js CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 0 Express.js CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2024-10491, published Oct 29, 2024.
- Supported Express.js releases today (per endoflife.date): 5, 4. Releases not on the list are past their announced end of life.
- You can monitor Express.js for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Express.js CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 5 most critical Express.js CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-24999 | 7.5 High | 2022-11-26 | Prototype pollution | No |
| 2 | CVE-2024-29041 | 6.1 Medium | 2024-03-25 | Security flaw | No |
| 3 | CVE-2014-6393 | 6.1 Medium | 2017-08-09 | Cross-site scripting (XSS) | No |
| 4 | CVE-2024-10491 | 5.3 Medium | 2024-10-29 | Injection | No |
| 5 | CVE-2024-43796 | 4.7 Medium | 2024-09-10 | Cross-site scripting (XSS) | No |
Each Express.js CVE explained
1. CVE-2022-24999: Prototype pollution
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- before 4.17.3
- What to do
- Upgrade to 4.17.3 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2024-29041: Security flaw
- What NVD says
- Express.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://github.com/pillarjs/encodeurl) on the contents before passing it to the `location` header.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
- Affected versions
- before 4.19.2; 5.0.0
- What to do
- Upgrade to 4.19.2 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2014-6393: Cross-site scripting (XSS)
- What NVD says
- The Express web framework before 3.11 and 4.x before 4.5 for Node.js does not provide a charset field in HTTP Content-Type headers in 400 level responses, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via characters in a non-standard encoding.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
- Affected versions
- up to and including 3.10.5; 4.0.0; 4.1.0; 4.1.1
- What to do
- Apply the vendor's security update for your release and restart the service.
4. CVE-2024-10491: Injection
- What NVD says
- A vulnerability has been identified in the Express response.links function, allowing for arbitrary resource injection in the Link header when unsanitized data is used. The issue arises from improper sanitization in `Link` header values, which can allow a combination of characters like `,`, `;`, and `<>` to preload malicious resources. This vulnerability is especially relevant for dynamic parameters.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has limited impact on integrity.
- Affected versions
- 3.0.0 to before 3.21.5
- What to do
- Upgrade to 3.21.5 or a later release, then restart the service.
5. CVE-2024-43796: Cross-site scripting (XSS)
- What NVD says
- Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
- Affected versions
- before 4.20.0; 5.0.0
- What to do
- Upgrade to 4.20.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
Express.js end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Express.js vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Express.js releases are 5, 4.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Express.js 5 | Sep 9, 2024 | Not announced | 5.3.0 | Supported |
| Express.js 4 | Apr 9, 2014 | Not announced | 4.22.3 | Supported |
| Express.js 3 | Oct 23, 2012 | Jul 5, 2015 | 3.21.2 | End of life |
| Express.js 2 | Mar 17, 2011 | Jul 1, 2012 | 2.5.11 | End of life |
| Express.js 1 | Nov 16, 2010 | Mar 1, 2011 | 1.0.9 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Express.js security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Your stack is bigger than Express.js. A flaw anywhere in the chain can be the way in, so also review our guides to Node.js vulnerabilities, React vulnerabilities and MongoDB vulnerabilities.
How to get alerted about new Express.js vulnerabilities
NVD received 0 new Express.js CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Express.js and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Express.js alone. These guides cover the technologies it is most often deployed with.
- Node.js vulnerabilities: Node.js is a JavaScript runtime for building servers and tools.
- React vulnerabilities: React is Meta's JavaScript library for building user interfaces.
- MongoDB vulnerabilities: MongoDB is the most popular document-oriented NoSQL database.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Django vulnerabilities: Django is a high-level Python web framework.
- MediaWiki vulnerabilities: MediaWiki is the wiki software that powers Wikipedia.
Frequently asked questions about Express.js vulnerabilities
What are the most critical Express.js vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Express.js CVEs include CVE-2022-24999 (CVSS 7.5), CVE-2024-29041 (CVSS 6.1), CVE-2014-6393 (CVSS 6.1). The guide above ranks the 5 most critical with affected versions and fixes.
Have Express.js vulnerabilities been exploited in real attacks?
For the Express.js product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Express.js patched.
How many vulnerabilities does Express.js have?
As of Nov 3, 2026 the National Vulnerability Database lists 5 CVEs for Express.js, with 0 rated critical by CVSS v3. 0 were published in the previous twelve months.
Which Express.js versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Express.js releases as supported: 5, 4. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Express.js CVE is published?
Add Express.js to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Express.js and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Express.js secure?
Express.js is as secure as its patch level. NVD published 0 new Express.js CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-24999?
CVE-2022-24999 is a high Express.js vulnerability with a CVSS score of 7.5, published Nov 26, 2022. 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.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Express.js (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.