Pdfmake
Monthly
pdfmake versions 0.3.0-beta.2 through 0.3.5 contain a server-side request forgery vulnerability in the URLResolver component that allows unauthenticated remote attackers to access sensitive information through crafted URL requests. Affected applications using vulnerable versions without proper URL access controls are at risk of information disclosure. No patch is currently available, though version 0.3.6 introduces URL access policy controls to mitigate the risk.
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.
Information disclosure in pdfmake 0.3.8 through 0.3.11 lets attackers read local files that the setLocalAccessPolicy() restriction is supposed to block, by placing an SVG image whose href points at a local path. The flaw is reachable by unauthenticated remote attackers (CVSS v4 PR:N) but only matters when a host application builds PDFs from attacker-influenced document definitions and relies on that policy to sandbox file access; impact is limited to confidentiality. No public exploit code or confirmed active exploitation was identified at time of analysis, and a vendor patch ships in 0.3.12.
Unbounded HTTP redirect following in pdfmake's URLResolver crashes Node.js processes when attacker-controlled URLs trigger infinite redirect chains during file embedding. Affected are all 0.3.0 beta releases from beta.1 through beta.16 on both the npm and Java WebJars distributions. No special conditions beyond reaching a pdfmake rendering endpoint that accepts user-influenced document definitions are required; no public exploit code exists and the vulnerability is not in the CISA KEV catalog, but the attack mechanism is trivially reproducible.
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
pdfmake is an open source client/server side PDF printing in pure JavaScript. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
pdfmake versions 0.3.0-beta.2 through 0.3.5 contain a server-side request forgery vulnerability in the URLResolver component that allows unauthenticated remote attackers to access sensitive information through crafted URL requests. Affected applications using vulnerable versions without proper URL access controls are at risk of information disclosure. No patch is currently available, though version 0.3.6 introduces URL access policy controls to mitigate the risk.
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.
Information disclosure in pdfmake 0.3.8 through 0.3.11 lets attackers read local files that the setLocalAccessPolicy() restriction is supposed to block, by placing an SVG image whose href points at a local path. The flaw is reachable by unauthenticated remote attackers (CVSS v4 PR:N) but only matters when a host application builds PDFs from attacker-influenced document definitions and relies on that policy to sandbox file access; impact is limited to confidentiality. No public exploit code or confirmed active exploitation was identified at time of analysis, and a vendor patch ships in 0.3.12.
Unbounded HTTP redirect following in pdfmake's URLResolver crashes Node.js processes when attacker-controlled URLs trigger infinite redirect chains during file embedding. Affected are all 0.3.0 beta releases from beta.1 through beta.16 on both the npm and Java WebJars distributions. No special conditions beyond reaching a pdfmake rendering endpoint that accepts user-influenced document definitions are required; no public exploit code exists and the vulnerability is not in the CISA KEV catalog, but the attack mechanism is trivially reproducible.
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
pdfmake is an open source client/server side PDF printing in pure JavaScript. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.