The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-24737

CVE-2026-24737: jsPDF Library XSS Vulnerability

CVE-2026-24737 is an XSS vulnerability in jsPDF library that allows attackers to inject arbitrary PDF objects and execute malicious JavaScript. This post covers technical details, affected versions, impact, and mitigation.

Published: February 6, 2026

CVE-2026-24737 Overview

CVE-2026-24737 is an arbitrary PDF object injection vulnerability affecting jsPDF, a widely-used JavaScript library for generating PDF documents. Prior to version 4.1.0, the Acroform module allows users to inject arbitrary PDF objects, including malicious JavaScript actions, through unsanitized input passed to specific API methods and properties.

This vulnerability enables attackers to craft malicious PDFs that execute arbitrary JavaScript code when opened by victims. The attack requires user interaction (opening the malicious PDF) but can be exploited remotely over the network without authentication.

Critical Impact

Attackers can inject malicious JavaScript actions into PDF documents generated by vulnerable jsPDF versions, leading to code execution when victims open the crafted documents.

Affected Products

  • jsPDF versions prior to 4.1.0
  • Applications using vulnerable jsPDF Acroform module API methods
  • Web applications accepting user input for PDF form generation

Discovery Timeline

  • February 2, 2026 - CVE-2026-24737 published to NVD
  • February 3, 2026 - Last updated in NVD database

Technical Details for CVE-2026-24737

Vulnerability Analysis

The vulnerability resides in the Acroform module of jsPDF, which provides functionality for creating interactive PDF forms. The core issue stems from improper encoding of output (CWE-116), where user-controlled input is not adequately sanitized before being incorporated into the PDF document structure.

When applications pass unsanitized user input to specific Acroform API methods, attackers can break out of the intended data context and inject arbitrary PDF objects. This includes the ability to embed JavaScript actions that execute automatically when the generated PDF is opened by a PDF reader.

The attack is network-exploitable and requires no privileges, though user interaction (opening the malicious PDF) is necessary for successful exploitation. The impact includes high confidentiality and integrity compromise, as injected JavaScript can access document data and perform actions on behalf of the user.

Root Cause

The root cause is improper encoding of output (CWE-116) in the Acroform module. The vulnerable API members fail to properly sanitize or escape user-provided values before incorporating them into the PDF object stream. This allows specially crafted input to inject additional PDF objects, breaking the expected document structure and enabling code execution.

The following API members are affected:

  • AcroformChoiceField.addOption
  • AcroformChoiceField.setOptions
  • AcroFormCheckBox.appearanceState
  • AcroFormRadioButton.appearanceState

Attack Vector

The attack vector involves an attacker providing malicious input to a web application that uses jsPDF to generate PDF documents with interactive forms. When the application passes this unsanitized input to any of the vulnerable Acroform methods or properties, the attacker's payload becomes embedded in the PDF structure as executable JavaScript.

The malicious PDF is then delivered to victims through normal application channels (download, email, etc.). When a victim opens the PDF document with a JavaScript-enabled PDF reader, the injected code executes automatically, potentially leading to data theft, further exploitation, or other malicious activities.

Since this is an injection vulnerability through improper output encoding, no verified exploit code is provided. For technical details on the vulnerability mechanism, refer to the GitHub Security Advisory GHSA-pqxr-3g65-p328.

Detection Methods for CVE-2026-24737

Indicators of Compromise

  • Generated PDF documents containing unexpected JavaScript actions or embedded scripts
  • PDF files with anomalous object structures in the Acroform sections
  • Application logs showing unusual input patterns targeting form field options or appearance states
  • PDF documents that trigger JavaScript execution warnings in secure PDF readers

Detection Strategies

  • Audit application dependencies to identify jsPDF versions prior to 4.1.0
  • Implement static code analysis to detect use of vulnerable Acroform API methods with user-controlled input
  • Monitor PDF generation endpoints for input patterns attempting object injection
  • Deploy PDF content inspection to identify JavaScript actions in generated documents

Monitoring Recommendations

  • Enable verbose logging on PDF generation services to capture input parameters
  • Implement file integrity monitoring on generated PDF documents
  • Set up alerts for applications using outdated jsPDF library versions
  • Monitor for reports of unexpected PDF behavior from end users

How to Mitigate CVE-2026-24737

Immediate Actions Required

  • Update jsPDF to version 4.1.0 or later immediately
  • Audit all applications using jsPDF Acroform functionality for user-controlled input
  • Implement input validation and sanitization before passing data to Acroform API methods
  • Consider temporarily disabling Acroform functionality if immediate patching is not possible

Patch Information

The vulnerability has been fixed in jsPDF version 4.1.0. The patch implements proper output encoding for all affected Acroform API members, preventing arbitrary PDF object injection.

  • Fixed Version:4.1.0
  • Patch Commit:GitHub Commit da291a5f01b96282545c9391996702cdb8879f79
  • Release Notes:GitHub Release v4.1.0

Workarounds

  • Implement strict input validation before passing any user data to Acroform methods
  • Use allowlist-based validation for addOption, setOptions, and appearanceState inputs
  • Remove or sanitize special characters that could enable PDF object injection
  • Consider using alternative PDF form generation methods until patching is complete
bash
# Update jsPDF to patched version
npm update jspdf@4.1.0

# Or specify the exact version in package.json
npm install jspdf@^4.1.0 --save

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechJspdf

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-116
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.1.0

  • GitHub Security Advisory GHSA-pqxr-3g65-p328
  • Related CVEs
  • CVE-2026-31938: Parall Jspdf XSS Vulnerability

  • CVE-2026-31898: jsPDF Library XSS Vulnerability

  • CVE-2026-25940: jsPDF Acroform XSS Vulnerability

  • CVE-2026-25535: jsPDF Library DoS 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