CVE-2024-43796 json
express vulnerable to XSS via response.redirect()
published 2024-09-10 2 y ago modified 2026-09-10 59 d ago also EUVD-2024-2859 , GHSA-qw6h-vgh9-j6wx
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm express 4.20.0, 5.0.0
- openjsf express 4.20.0, 5.0.0
- node-express Debian 14, Debian 13 4.21.0+~cs8.36.26-1
debian advisories DEBIAN-CVE-2024-43796
- node-express Ubuntu Pro 16.04 LTS 4.1.1~dfsg-1ubuntu0.16.04.1~esm1
- node-express Ubuntu Pro 18.04 LTS 4.1.1~dfsg-1ubuntu0.18.04.1~esm1
- node-express Ubuntu Pro 20.04 LTS 4.17.1-2ubuntu0.1~esm1
- node-express Ubuntu Pro 22.04 LTS 4.17.3+~4.17.13-1ubuntu0.1~esm1
- node-express Ubuntu Pro 24.04 LTS 4.19.2+~cs8.36.21-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2024-43796
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-tensorboard Azure Linux 3.0 2.16.2-5
- reaper CBL-Mariner 2.0 3.1.1-12
azure linux advisories AZL-49053AZL-49135
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-43796 updated cvss 5.0
express: Improper Input Handling in Express Redirects
-
Red Hat Cryostat 3 python-pymata-expressaffected: workaround, no fix available “Fix deferred”
-
Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel9, mta/mta-cli-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Migration Toolkit for Runtimes python-pymata-express Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Lightspeed lightspeed-console-plugin-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7affected: workaround, no fix planned “Will not fix”
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat Ansible Automation Platform 2 aap-cloud-ui-container, ansible-automation-platform-25/lightspeed-rhel8 Red Hat build of OptaPlanner 8 python-pymata-express Red Hat Data Grid 8 expressaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 thunderbirdaffected: workaround, no fix planned “Out of support scope”
show 20 moreshow fewer
-
Red Hat Enterprise Linux 8 cldr-emoji-annotation Red Hat Enterprise Linux 9 cldr-emoji-annotation, cldr-emoji-annotation-dtd Red Hat Enterprise Linux 10 cldr-emoji-annotationaffected: workaround, no fix available
-
Red Hat Fuse 7 python-pymata-express Red Hat JBoss Data Grid 7 python-pymata-express Red Hat OpenShift AI (RHOAI) odh-dashboard-containeraffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-consoleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-networking-console-plugin-rhel9 Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift distributed tracing 3 rhosdt/tempo-jaeger-query-rhel8affected: workaround, no fix available
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9 Red Hat Process Automation 7 expressaffected: workaround, no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-rhel8 Red Hat Trusted Profile Analyzer rhtpa-trustification-service-rhel9affected: workaround, no fix available
-
Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-1, discovery/discovery-server-rhel9 1.12.0-1fixed: vendor fix RHSA-2025:1249
-
Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4fixed: vendor fix RHSA-2024:11023
-
Red Hat NETOBSERV 1.7 for RHEL 9 network-observability/network-observability-cli-rhel9 v1.7.0-67, network-observability/network-observability-operator-bundle 1.7.0-86, network-observability/network-observability-rhel9-operator v1.7.0-67, network-observability/network-observability-ebpf-agent-rhel9 v1.7.0-67, network-observability/network-observability-console-plugin-rhel9 v1.7.0-67, network-observability/network-observability-flowlogs-pipeline-rhel9 v1.7.0-67fixed: vendor fix RHSA-2024:8014
-
Red Hat Developer Hub 1.3 for RHEL 9 rhdh/rhdh-hub-rhel9 1.3-100fixed: vendor fix RHBA-2024:7523
-
Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 v1.8.5-7fixed: vendor fix RHSA-2024:10906
-
Red Hat OpenShift Container Platform 4.17 openshift4/nmstate-console-plugin-rhel9 v4.17.0-202501301204.p0.gcffdc60.assembly.stream.el9fixed: vendor fix RHSA-2025:0875
-
Red Hat OpenShift distributed tracing 3.4 rhosdtfixed: vendor fix RHSA-2024:10917
-
Red Hat OpenShift GitOps 1.12 openshift-gitops-1/dex-rhel8 v1.12.6-2, openshift-gitops-1/argocd-rhel8 v1.12.6-2, openshift-gitops-1/argocd-rhel9 v1.12.6-1, openshift-gitops-1/gitops-rhel8 v1.12.6-2, openshift-gitops-1/must-gather-rhel8 v1.12.6-2, openshift-gitops-1/kam-delivery-rhel8 v1.12.6-2, +4 morefixed: vendor fix RHSA-2024:8677
-
Red Hat OpenShift GitOps 1.13 openshift-gitops-1/dex-rhel8 v1.13.2-4, openshift-gitops-1/argocd-rhel8 v1.13.2-4, openshift-gitops-1/argocd-rhel9 v1.13.2-5, openshift-gitops-1/gitops-rhel8 v1.13.2-4, openshift-gitops-1/must-gather-rhel8 v1.13.2-4, openshift-gitops-1/kam-delivery-rhel8 v1.13.2-4, +4 morefixed: vendor fix RHSA-2024:8581
-
Red Hat OpenShift Serverless 1.34 openshift-serverless-1/logic-rhel8-operator 1.34.0-5, openshift-serverless-1/logic-operator-bundle 1.34.0-5, openshift-serverless-1/logic-swf-builder-rhel8 1.34.0-6, openshift-serverless-1/logic-swf-devmode-rhel8 1.34.0-6, openshift-serverless-1/logic-management-console-rhel8 1.34.0-5, openshift-serverless-1/logic-data-index-ephemeral-rhel8 1.34.0-6, +4 morefixed: vendor fix RHSA-2024:8023
-
Red Hat RHODF 4.14 for RHEL 9 odf4/ocs-client-console-rhel9 v4.14.13-3fixed: vendor fix RHSA-2025:0323
-
Red Hat RHODF 4.15 for RHEL 9 odf4/odf-console-rhel9 v4.15.9-1, odf4/ocs-client-console-rhel9 v4.15.9-1fixed: vendor fix RHSA-2025:0164
4 more fixed, 27 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | express | <4.20.0 >=5.0.0-alpha.1, <5.0.0 |
4.20.0 5.0.0 |
Affected products
- expressjs express
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553
web, patch
-
github.com
/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-43796
advisory
-
github.com
/expressjs/express
package
Sources
- CVE List CVE-2024-43796
- GitHub Advisory GHSA-qw6h-vgh9-j6wx
- NVD CVE-2024-43796
- Maintainer advisory GHSA-qw6h-vgh9-j6wx
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of expressjs/express published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.