Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-10491

CVE-2024-10491: OpenJSF Express Injection Vulnerability

CVE-2024-10491 is a resource injection flaw in OpenJSF Express that allows attackers to inject malicious resources via the Link header. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-10491 Overview

A vulnerability has been identified in the Express.js response.links function, allowing for arbitrary resource injection in the Link header when unsanitized data is used. The issue arises from improper sanitization in Link header values, which can allow a combination of characters like ,, ;, and <> to preload malicious resources. This vulnerability is especially relevant for dynamic parameters in web applications built on the Express.js framework.

Critical Impact

Attackers can inject arbitrary resources into Link headers, potentially enabling resource preloading attacks, cache poisoning, or manipulation of browser behavior through maliciously crafted header values.

Affected Products

  • OpenJS Foundation Express for Node.js
  • Applications using the response.links function with unsanitized user input
  • Express-based web applications processing dynamic Link header parameters

Discovery Timeline

  • 2024-10-29 - CVE CVE-2024-10491 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2024-10491

Vulnerability Analysis

This vulnerability is classified as an Injection vulnerability (CWE-74) affecting the Express.js framework's response.links function. The core issue stems from insufficient input validation when constructing Link headers from user-supplied data. When application developers pass unsanitized input to the response.links function, attackers can craft malicious payloads containing special characters that break out of the intended header structure.

The Link header is commonly used for resource hints, preloading assets, and pagination in RESTful APIs. By exploiting this vulnerability, an attacker could inject additional Link header directives, potentially causing the browser to preload malicious resources or manipulate caching behavior.

Root Cause

The root cause lies in improper sanitization of values passed to the response.links function in Express.js. The function does not adequately escape or validate characters with special meaning in Link header syntax, specifically:

  • Comma (,) - used to separate multiple link values
  • Semicolon (;) - used to separate link parameters
  • Angle brackets (<>) - used to delimit URIs

When user input containing these characters is passed directly to response.links, it can alter the structure of the resulting Link header in unintended ways.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by providing specially crafted input to any application endpoint that passes user-controlled data to the response.links function. The malicious input would contain Link header metacharacters that, when processed without sanitization, inject additional resources or modify existing link directives.

For example, if an application constructs pagination links using user input, an attacker could inject additional preload directives pointing to malicious resources. This could potentially be leveraged for phishing, malware distribution, or cache poisoning attacks depending on how downstream systems process the manipulated headers.

Detection Methods for CVE-2024-10491

Indicators of Compromise

  • Unusual characters (,, ;, <>) in URL parameters or user input fields that are used to construct Link headers
  • Malformed or unexpected Link headers in HTTP responses
  • Server logs showing injection attempts with Link header metacharacters
  • Unexpected resource preloading or fetch requests originating from application responses

Detection Strategies

  • Implement input validation monitoring to detect special characters in parameters passed to response header functions
  • Deploy web application firewall (WAF) rules to detect Link header injection patterns
  • Monitor application logs for requests containing Link header metacharacters in unexpected fields
  • Use runtime application self-protection (RASP) tools to detect header manipulation attempts

Monitoring Recommendations

  • Enable detailed logging for all Express.js middleware and response handling
  • Monitor for anomalous Link header structures in outbound HTTP responses
  • Set up alerts for high-frequency requests with special characters in query parameters
  • Review application code for instances where user input is passed to response.links without sanitization

How to Mitigate CVE-2024-10491

Immediate Actions Required

  • Audit all application code for usage of the response.links function with user-controlled input
  • Implement strict input validation and sanitization before passing data to response.links
  • Consider using allowlist-based validation for any dynamic Link header values
  • Update Express.js to the latest patched version when available

Patch Information

Organizations should monitor the HeroDevs vulnerability advisory for patch information and updates. Until an official patch is available, implementing input validation and sanitization is the recommended mitigation strategy.

Workarounds

  • Sanitize all user input before passing to response.links by removing or encoding ,, ;, and <> characters
  • Implement a custom wrapper function for response.links that validates input against an allowlist of acceptable characters
  • Avoid using dynamic user input in Link header construction where possible
  • Use Content Security Policy (CSP) headers to restrict resource loading and mitigate potential exploitation impact
bash
# Example: Input validation for Express.js response.links
# Implement sanitization middleware to strip Link header metacharacters
# Filter out: comma (,), semicolon (;), angle brackets (<>)
# 
# Apply to all routes that use response.links with dynamic parameters
# Consider using a library like validator.js for consistent sanitization

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechOpenjsf Express

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-74

  • NVD-CWE-noinfo
  • Technical References
  • Hero Devs CVE-2024-10491 Vulnerability
  • Related CVEs
  • CVE-2024-29041: Express.js Open Redirect Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English