Skip to main content

pdfmake CVE-2026-119743

| EUVDEUVD-2026-120056 MEDIUM
Use of Cache Containing Sensitive Information (CWE-524)
2026-11-09 VulnCheck GHSA-cw47-gww7-39hm
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify multi-tenant pdfmake service accepting user URLs
  2. Delivery
    Victim document fetches credentialed/protected resource
  3. Exploit
    Attacker submits document referencing same URL
  4. Execution
    Shared VFS returns cached entry ignoring headers/policy
  5. Impact
    Disclose cross-document protected content

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Exploitation Conditions

Requires a server-side deployment where multiple documents or callers share a single pdfmake process using the default shared URL resource caching of versions before 0.3.14, AND an application that lets untrusted users specify resource URLs via the images, fonts, attachments, or files dictionaries. The attacker must request a URL that another caller has already fetched and cached: shared entries are keyed by URL only, ignoring request headers, and setUrlAccessPolicy() applies to network downloads, not cache reads. LIMITING FACTORS: single-document or client-side single-user usage is not meaningfully exposed; exploitation depends on prior co-tenant activity populating the shared cache (reflected in AC:H); impact is limited information disclosure (VC:L/VI:L). The flaw is fixed in 0.3.14, which defaults to per-document caching (setUrlResourceCaching default false); restoring shared caching via setUrlResourceCaching(true) re-exposes the behavior, and pre-existing shared cache entries persist until clearUrlResourceCache() is called.

Impact

The vendor CVSS 4.0 score of 6.3 (medium) is driven by a network vector (AV:N) but tempered by high attack complexity (AC:H) and limited impacts (VC:L/VI:L, availability none). The attack complexity is high because successful disclosure depends on another caller having already fetched a sensitive resource into the process-wide cache - a condition the attacker does not fully control. The vuln.today decision label is 'this_month' rather than act_now or emergency, consistent with a real-but-not-urgent issue. No CISA KEV listing is present (not actively exploited), and no EPSS score was supplied in the input, so widespread opportunistic exploitation cannot be quantified from the data given. There is no confirmed public exploit; the VulnCheck advisory is referenced as analysis, not as working exploit code. Net assessment: this is a legitimate but conditional information-disclosure flaw whose real risk concentrates in multi-tenant server-side pdfmake deployments where untrusted users control resource URLs - not a broad-impact critical. Note the mismatch between the network vector and the practical requirement for a shared same-process cache and co-tenant activity; that deployment dependency, not the raw AV:N, governs real-world exposure.

Exploit ScenarioDerived

In a server-side service (pdfmake before 0.3.14) where multiple callers share one process and untrusted users can specify image, font, or attachment URLs, a victim document fetches a protected resource using Authorization headers. Because the virtual file system cache is keyed only by URL and ignores request headers and per-document access policy, an attacker then submits a second document referencing that same URL and receives the cached, credentialed content - bypassing setUrlAccessPolicy, which only governs downloads, not cache reads. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

pdfmake versions before 0.3.14 keep a process-wide in-memory cache of URL-fetched fonts, images, attachments and embedded files keyed only by URL, so a later document can read a resource that was downloaded using a different caller's credentials or that its own URL access policy would otherwise deny. The exposure is specific to server-side deployments where one pdfmake process generates documents for multiple users and untrusted users can control resource URLs in the images, fonts, attachments or files dictionaries; client-side single-user and single-document use is not meaningfully affected. Successful exploitation yields cross-document information disclosure and a bypass of setUrlAccessPolicy() (which governs network downloads, not cache reads), and depends on another caller having already populated the shared cache, which is why the assessed severity is limited (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N; vendor CVSS 4.0 6.3). No public exploit code was identified at time of analysis and the issue is not in CISA KEV; the vendor has released 0.3.14 with per-document caching as the default.

RemediationAI

Upgrade to pdfmake 0.3.14 or later, which stores downloaded fonts, images, attachments and embedded files per document by default (setUrlResourceCaching() defaults to false) and therefore removes the cross-document cache path; the release and fix are at https://github.com/bpampuch/pdfmake/releases/tag/0.3.14 and https://github.com/bpampuch/pdfmake/commit/73aaed7a90699f31036a77f957fe3303693e3c8f. Upgrading alone does not purge entries already written by the old shared cache, so call pdfmake.clearUrlResourceCache() between document generations (after active generations finish) to evict previously cached resources. Do not re-enable cross-document sharing with pdfmake.setUrlResourceCaching(true) on multi-tenant servers, and avoid per-resource cache: true on URLs derived from untrusted input, because both restore the vulnerable behavior; note that even cache: false can still reuse a pre-existing shared entry until the cache is cleared. If upgrading is not immediately possible, the compensating control is to restrict or validate the resource URLs supplied through the images, fonts, attachments and files dictionaries to a fixed allowlist of trusted origins, since setUrlAccessPolicy() does not cover cache reads; the trade-off is reduced flexibility for legitimate user-supplied resources and the need to maintain the allowlist. Isolating document generation into per-caller processes avoids the shared state but increases memory and startup cost.

Affected VersionsENISA

pdfmake 0.3.0-beta.1 <0.3.14

Affected Packages

euvd pdfmake fix: 0.3.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pdfmake is a JavaScript PDF generation library that, in server-side use, resolves external resources (custom font files, images, attachment and embedded-file sources) through an internal virtual file system (VFS). Prior to 0.3.14 that VFS stored downloaded HTTP/HTTPS resources in a shared, process-wide cache whose entries were keyed solely by URL - request headers such as Authorization were not part of the key, and read paths through the VFS were not subject to the per-document URL access policy configured with setUrlAccessPolicy(), which applies only to network downloads. This is CWE-524 (Use of Cache Containing Sensitive Information): the cache retains data across trust boundaries, so a document authored by one caller can surface bytes fetched for another. The assessed attack complexity is high (AC:H) not because of any race or memory-safety issue but because exploitation requires prior co-tenant activity that already populated the cache with the target URL, plus an application that lets untrusted users specify resource URLs; impacts are limited to confidentiality and integrity of the documents in question, with no availability impact. Version 0.3.14 changes the default to per-document caching, adds setUrlResourceCaching(true|false) (default false) and per-resource cache overrides, adds clearUrlResourceCache() to purge shared entries, and documents that existing shared entries remain readable regardless of the cache flag until the cache is cleared.

Know when Pdfmake gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

AC:H because disclosure depends on another caller's resource already being cached (attacker-uncontrolled); PR:N as pdfmake requires no privileges; pure read disclosure gives C:L, I:N, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

pdfmake before 0.3.14 contains a shared resource caching vulnerability that allows attackers to access cross-document cached resources by exploiting a process-wide virtual file system keyed only by URL without request headers or per-document access enforcement. Attackers can retrieve resources fetched with another caller's credentials or from URLs that a later document's access policy would deny, resulting in cross-document information disclosure and bypass of the URL access policy.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
popular JavaScript PDF library, millions of weekly npm downloads, broad client/server use
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy