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

Most critical Express.js vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2022-249997.5 High2022-11-26Prototype pollutionNo
2CVE-2024-290416.1 Medium2024-03-25Security flawNo
3CVE-2014-63936.1 Medium2017-08-09Cross-site scripting (XSS)No
4CVE-2024-104915.3 Medium2024-10-29InjectionNo
5CVE-2024-437964.7 Medium2024-09-10Cross-site scripting (XSS)No

Each Express.js CVE explained

1. CVE-2022-24999: Prototype pollution

  • CVSS 7.5 High
  • Published 2022-11-26
  • CWE-1321
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)

NVD record for CVE-2022-24999 (opens in a new tab)

2. CVE-2024-29041: Security flaw

  • CVSS 6.1 Medium
  • Published 2024-03-25
  • CWE-601
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)

NVD record for CVE-2024-29041 (opens in a new tab)

3. CVE-2014-6393: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2017-08-09
  • CWE-79
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.

NVD record for CVE-2014-6393 (opens in a new tab)

4. CVE-2024-10491: Injection

  • CVSS 5.3 Medium
  • Published 2024-10-29
  • CWE-74
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.

NVD record for CVE-2024-10491 (opens in a new tab)

5. CVE-2024-43796: Cross-site scripting (XSS)

  • CVSS 4.7 Medium
  • Published 2024-09-10
  • CWE-79
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)

NVD record for CVE-2024-43796 (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.

Express.js release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Express.js 5Sep 9, 2024Not announced5.3.0Supported
Express.js 4Apr 9, 2014Not announced4.22.3Supported
Express.js 3Oct 23, 2012Jul 5, 20153.21.2End of life
Express.js 2Mar 17, 2011Jul 1, 20122.5.11End of life
Express.js 1Nov 16, 2010Mar 1, 20111.0.9End 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

  1. Update the core, themes, plugins and extensions as soon as security releases appear.
  2. Remove plugins, themes and modules you do not use.
  3. Give users the minimum role they need and enable two-factor authentication for administrators.
  4. Keep debug and development modes off in production.
  5. Back up files and database before every update.
  6. 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.

Few stacks run Express.js alone. These guides cover the technologies it is most often deployed with.

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

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.