cve.bz

CVE-2024-43796 openjsf express: Cross-site Scripting

4.7 mediumEPSS 0.5%Fix available

Medium (4.7) in openjsf express. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in express 4.20.0, 5.0.0.

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

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.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd 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-43796 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-43796?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-43796?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-43796 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:expressbefore 4.20.0
openjsf:express5.0.0:alpha1
openjsf:express5.0.0:alpha2
openjsf:express5.0.0:alpha3
openjsf:express5.0.0:alpha4
openjsf:express5.0.0:alpha5
openjsf:express5.0.0:alpha6
openjsf:express5.0.0:alpha7
openjsf:express5.0.0:alpha8
openjsf:express5.0.0:beta1
openjsf:express5.0.0:beta2
openjsf:express5.0.0:beta3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qw6h-vgh9-j6wxnpmexpress<4.20.04.20.0
GHSA-qw6h-vgh9-j6wxnpmexpress>=5.0.0-alpha.1 <5.0.05.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-expressno fix listedDEBIAN-CVE-2024-43796
Debian13, 14node-express4.21.0+~cs8.36.26-1DEBIAN-CVE-2024-43796
UbuntuPro:16.04:LTSnode-express4.1.1~dfsg-1ubuntu0.16.04.1~esm1UBUNTU-CVE-2024-43796 USN-7581-1
UbuntuPro:18.04:LTSnode-express4.1.1~dfsg-1ubuntu0.18.04.1~esm1UBUNTU-CVE-2024-43796 USN-7581-1
UbuntuPro:20.04:LTSnode-express4.17.1-2ubuntu0.1~esm1UBUNTU-CVE-2024-43796 USN-7581-1
UbuntuPro:22.04:LTSnode-express4.17.3+~4.17.13-1ubuntu0.1~esm1UBUNTU-CVE-2024-43796 USN-7581-1
UbuntuPro:24.04:LTSnode-express4.19.2+~cs8.36.21-1ubuntu0.1~esm1UBUNTU-CVE-2024-43796 USN-7581-1
Azure Linux2nodejs-nodemonno fix listedAZL-49091
Azure Linux2reaper3.1.1-12AZL-49135
Azure Linux3nodejs-nodemonno fix listedAZL-49152
Azure Linux3python-tensorboard2.16.2-5AZL-49053

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 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 4expressFixed 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 3expressFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel8Not affected
Migration Toolkit for Applications 7mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 7mta/mta-ui-rhel9Will not fix
Migration Toolkit for RuntimesexpressWill 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
114 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-43796.

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