cve.bz

CVE-2024-43800 openjsf serve-static: Cross-site Scripting

4.7 mediumEPSS 0.6%Fix available

Medium (4.7) in openjsf serve-static. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in serve-static 1.16.0, 2.1.0.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-43800 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-43800?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-43800?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-43800 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openjsf:serve-staticbefore 1.16.0
openjsf:serve-staticfrom 2.0.0 before 2.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cm22-4g7w-348pnpmserve-static<1.16.01.16.0
GHSA-cm22-4g7w-348pnpmserve-static>=2.0.0 <2.1.02.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-serve-staticno fix listedDEBIAN-CVE-2024-43800
Debian13, 14node-serve-static2.1.0+~1.15.7-1DEBIAN-CVE-2024-43800
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morenode-serve-staticno fix listedUBUNTU-CVE-2024-43800
Azure Linux2nodejs-nodemonno fix listedAZL-49094
Azure Linux2reaper3.1.1-13AZL-49147
Azure Linux3nodejs-nodemonno fix listedAZL-49155

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

rhdh-hub-container 1.2 and 1.3 have included patches for this vulnerability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
HawtIO 4.0.0 for Red Hat build of Apache Camel 4serve-staticFixed 2024-12-12RHSA-2024:11023
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-cli-rhel9:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-console-plugin-rhel9:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-ebpf-agent-rhel9:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-flowlogs-pipeline-rhel9:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-operator-bundle:1.7.0-86Fixed 2024-10-22RHSA-2024:8014
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-rhel9-operator:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
Red Hat Developer Hub 1.3 on RHEL 9rhdh/rhdh-hub-rhel9:1.3-100Fixed 2024-10-02RHBA-2024:7523
Cryostat 3serve-staticFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel8Not affected
Migration Toolkit for Applications 7mta/mta-cli-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-ui-rhel9Will not fix
Migration Toolkit for Runtimesserve-staticWill not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/multicluster-engine-console-mce-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
OpenShift Lightspeedopenshift-lightspeed-beta/lightspeed-console-plugin-rhel9Affected
127 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-43800.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON