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
    • 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-2025-11362

CVE-2025-11362: Pdfmake DOS Vulnerability

CVE-2025-11362 is a denial of service vulnerability in Pdfmake caused by resource allocation issues with redirect URLs in file embedding. Attackers can crash applications or make them unresponsive. This article covers technical details, affected versions, impact, and mitigation.

Published: April 29, 2026

CVE-2025-11362 Overview

CVE-2025-11362 is a Denial of Service (DoS) vulnerability affecting the pdfmake JavaScript library, a popular client/server-side PDF printing solution for JavaScript applications. The vulnerability exists in versions prior to 0.3.0-beta.17 and stems from improper resource allocation when handling URL redirects during file embedding operations.

An attacker can exploit this vulnerability by providing crafted input containing repeatedly redirecting URLs, causing the application to exhaust resources and either crash or become unresponsive. This weakness falls under CWE-770: Allocation of Resources Without Limits or Throttling.

Critical Impact

Applications using vulnerable versions of pdfmake can be rendered completely unavailable through a resource exhaustion attack, potentially affecting business-critical document generation services.

Affected Products

  • pdfmake versions 0.3.0-beta1 through 0.3.0-beta16
  • All pdfmake versions prior to 0.3.0-beta.17

Discovery Timeline

  • October 7, 2025 - CVE-2025-11362 published to NVD
  • October 20, 2025 - Last updated in NVD database

Technical Details for CVE-2025-11362

Vulnerability Analysis

The vulnerability resides in pdfmake's URL resolution functionality, specifically within the URLResolver.js component. When pdfmake processes documents containing embedded files referenced via URLs, it follows HTTP redirects to fetch the content. However, prior to the security patch, there was no limit on the number of redirects the library would follow.

This architectural oversight allows an attacker to construct a malicious redirect chain—either a very long sequence of redirects or a circular redirect loop—that causes the application to continuously follow redirects until system resources are exhausted. The attack can be triggered remotely via network-accessible PDF generation endpoints without requiring authentication.

The impact is primarily on availability, as the vulnerable code path does not allow for data confidentiality or integrity compromise. However, for applications providing PDF generation as a service, this vulnerability can lead to complete service disruption.

Root Cause

The root cause is the absence of redirect count validation in the fetchUrl function within src/URLResolver.js. The original implementation blindly followed HTTP redirects without any safeguards, enabling infinite redirect loops or excessively long redirect chains to consume all available resources.

Attack Vector

The attack vector is network-based and requires no special privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Creating a URL endpoint that returns an HTTP redirect response
  2. Configuring the redirect to point back to itself (circular) or to another redirecting URL (chain)
  3. Submitting a PDF generation request that embeds a file from the malicious URL
  4. The pdfmake library follows the redirects indefinitely, consuming memory and CPU resources
javascript
 import http from 'http';
 import https from 'https';
 
-const fetchUrl = (url, headers = {}) => {
+const MAX_REDIRECTS = 30;
+
+const fetchUrl = (url, headers = {}, redirectCount = 0) => {
+	if (redirectCount >= MAX_REDIRECTS) {
+		return new Promise((_, reject) => {
+			reject(new Error(`Too many redirects (limit: ${MAX_REDIRECTS})`));
+		});
+	}
 	return new Promise((resolve, reject) => {
 		const parsedUrl = new URL(url);
 		const h = (parsedUrl.protocol === 'https:') ? https : http;

Source: GitHub Commit

Detection Methods for CVE-2025-11362

Indicators of Compromise

  • Abnormally high CPU or memory utilization on servers running pdfmake-based applications
  • Repeated HTTP/HTTPS requests to the same URL or chain of URLs from the PDF generation service
  • Application logs showing excessive redirect warnings or URL resolution timeouts
  • Service unresponsiveness or crashes coinciding with PDF generation requests

Detection Strategies

  • Monitor application performance metrics for sudden spikes in resource consumption during PDF generation operations
  • Implement network traffic analysis to detect unusual redirect patterns from backend services
  • Review dependency manifests (e.g., package.json, package-lock.json) to identify vulnerable pdfmake versions
  • Use software composition analysis (SCA) tools to automatically flag vulnerable npm packages

Monitoring Recommendations

  • Configure alerting on memory and CPU thresholds for services utilizing pdfmake
  • Enable detailed logging for URL fetching operations within PDF generation workflows
  • Implement request timeout monitoring to catch hanging operations early
  • Track HTTP redirect counts in application-level telemetry

How to Mitigate CVE-2025-11362

Immediate Actions Required

  • Upgrade pdfmake to version 0.3.0-beta.17 or later immediately
  • Audit all Node.js projects for pdfmake dependencies using npm audit or yarn audit
  • Implement input validation to restrict or sanitize URLs used in PDF file embedding
  • Consider rate limiting PDF generation endpoints to reduce potential attack impact

Patch Information

The vulnerability has been addressed in pdfmake version 0.3.0-beta.17. The fix introduces a MAX_REDIRECTS constant set to 30, and the fetchUrl function now tracks redirect counts and rejects requests that exceed this limit.

To update, run:

bash
npm update pdfmake
# or for a specific version
npm install pdfmake@0.3.0-beta.17

For additional details, refer to the GitHub Commit and Snyk Vulnerability Analysis.

Workarounds

  • Implement a reverse proxy or WAF rule to limit redirects on outbound requests from PDF generation services
  • Use URL allowlisting to restrict file embedding to trusted domains only
  • Disable or restrict external URL embedding functionality if not required for business operations
  • Deploy application-level timeouts for URL resolution operations to prevent indefinite hangs
bash
# Example: Check and update pdfmake version
npm list pdfmake
npm update pdfmake --save

# Verify the installed version is patched
npm list pdfmake | grep "0.3.0-beta.17"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPdfmake

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Snyk Vulnerability Analysis
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-26801: pdfmake SSRF Vulnerability

  • CVE-2024-25180: Pdfmake RCE 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