CVE-2024-43800 json
serve-static affected by template injection that can lead to XSS
published 2024-09-10 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2771 , GHSA-cm22-4g7w-348p
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
Patch / fix
- npm serve-static 1.16.0, 2.1.0
- openjsf serve-static 1.16.0, 2.1.0
- serve-static_project serve-static 1.16.0, 2.1.0
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-43800 updated cvss 5.0
serve-static: Improper Sanitization in serve-static
-
Red Hat Cryostat 3 discovery/discovery-server-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel9, mta/mta-cli-rhel9 Red Hat Migration Toolkit for Runtimes serve-static 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-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
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-rhel8affected: workaround, no fix available
-
Red Hat build of OptaPlanner 8 discovery/discovery-server-rhel9 Red Hat Data Grid 8 discovery/discovery-server-rhel9affected: workaround, no fix planned “Will not fix”
show 23 moreshow fewer
-
Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 thunderbirdaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Fuse 7 discovery/discovery-server-rhel9 Red Hat JBoss Data Grid 7 discovery/discovery-server-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) odh-operator-containeraffected: workaround, no fix available
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-console Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-networking-console-plugin-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8affected: workaround, no fix available
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8 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 discovery/discovery-server-rhel9affected: 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/odf-console-rhel9 v4.14.13-3, odf4/ocs-client-console-rhel9 v4.14.13-3, odf4/odf-multicluster-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-1, odf4/odf-multicluster-console-rhel9 v4.15.9-1fixed: vendor fix RHSA-2025:0164
-
Red Hat RHODF 4.16 for RHEL 9 odf4/mcg-core-rhel9 v4.16.3-1, odf4/odf-console-rhel9 v4.16.5-2, odf4/ocs-client-console-rhel9 v4.16.5-2, odf4/odf-multicluster-console-rhel9 v4.16.5-2fixed: vendor fix RHSA-2024:8113
-
Red Hat RHODF 4.17 for RHEL 9 odf4/mcg-core-rhel9 v4.17.0-69, odf4/odf-console-rhel9 v4.17.0-53, odf4/ocs-client-console-rhel9 v4.17.2-1, odf4/odf-multicluster-console-rhel9 v4.17.2-1fixed: vendor fix RHSA-2024:8676
4 more fixed, 24 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.63% chance of exploitation in the next 30 days, higher than 50% 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 | serve-static | <1.16.0 >=2.0.0, <2.1.0 |
1.16.0 2.1.0 |
Affected products
- expressjs serve-static
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b
web, patch
-
github.com
/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6fa
web, patch
-
github.com
/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-43800
advisory
-
github.com
/expressjs/serve-static
package
Sources
- CVE List CVE-2024-43800
- GitHub Advisory GHSA-cm22-4g7w-348p
- NVD CVE-2024-43800
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.