Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify multi-tenant pdfmake service accepting user URLs
-
DeliveryVictim document fetches credentialed/protected resource
-
ExploitAttacker submits document referencing same URL
-
ExecutionShared VFS returns cached entry ignoring headers/policy
-
ImpactDisclose 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf
pdfmake is an open source client/server side PDF printing in pure JavaScript. Rated critical severity (CVSS 9.8), this v
Unbounded HTTP redirect following in pdfmake's URLResolver crashes Node.js processes when attacker-controlled URLs trigg
pdfmake versions 0.3.0-beta.2 through 0.3.5 contain a server-side request forgery vulnerability in the URLResolver compo
Information disclosure in pdfmake 0.3.8 through 0.3.11 lets attackers read local files that the setLocalAccessPolicy() r
EUVD-2026-120056
GHSA-cw47-gww7-39hm
NVD
CVE.org
EPSS
Exploit-DB