Skip to content
Fencer Vulns
medium 5.0

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
  • reaper CBL-Mariner 2.0 3.1.1-13

azure linux advisories AZL-49147

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-43800 updated cvss 5.0

serve-static: Improper Sanitization in serve-static

  • Red Hat Cryostat 3 discovery/discovery-server-rhel9
    affected: 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-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Lightspeed lightspeed-console-plugin-rhel9
    affected: 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
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Ansible Automation Platform 2 aap-cloud-ui-container, ansible-automation-platform-25/lightspeed-rhel8
    affected: workaround, no fix available
  • Red Hat build of OptaPlanner 8 discovery/discovery-server-rhel9 Red Hat Data Grid 8 discovery/discovery-server-rhel9
    affected: workaround, no fix planned “Will not fix”
show 23 more
  • Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 thunderbird
    affected: 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-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift AI (RHOAI) odh-operator-container
    affected: 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-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8
    affected: workaround, no fix available
  • Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-jaeger-query-rhel8
    affected: 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-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Quay 3 quay/quay-rhel8 Red Hat Trusted Profile Analyzer rhtpa-trustification-service-rhel9
    affected: 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-1
    fixed: vendor fix RHSA-2025:1249
  • Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4
    fixed: 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-67
    fixed: vendor fix RHSA-2024:8014
  • Red Hat Developer Hub 1.3 for RHEL 9 rhdh/rhdh-hub-rhel9 1.3-100
    fixed: vendor fix RHBA-2024:7523
  • Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 v1.8.5-7
    fixed: 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.el9
    fixed: vendor fix RHSA-2025:0875
  • Red Hat OpenShift distributed tracing 3.4 rhosdt
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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-3
    fixed: 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-1
    fixed: 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-2
    fixed: 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-1
    fixed: 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

Sources

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.