p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in jspdf

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für jspdf: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 15

  1. CVE-2026-31938

    Kritisch · CVSS 9.6EPSS 0,27%Korrektur verfügbar

    jsPDF has HTML Injection in New Window paths

    jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of the `options` argument of the `output` function allows attackers to inject arbitrary HTML (such as scripts) into the browser context the created PDF is opened in. The vulnerability can be exploited in the following scenario: the attacker provides values for the output options, for example via a web interface. These values are then passed unsanitized (automatically or semi-automatically) to the attack victim. The victim creates and opens a PDF with the attack vector using one of the vulnerable method overloads inside their browser. The attacker can thus

    • Auf 4.2.1 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-31898

    Hoch · CVSS 8.1EPSS 0,37%Korrektur verfügbar

    jsPDF has a PDF Object Injection via FreeText color

    jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of arguments of the `createAnnotation` method allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to the following method, a user can inject arbitrary PDF objects, such as JavaScript actions, which might trigger when the PDF is opened or interacted with the `createAnnotation`: `color` parameter. The vulnerability has been fixed in [email protected]. As a workaround, sanitize user input before passing it to the vulnerable API members.

    • Auf 4.2.1 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-25940

    Hoch · CVSS 8.1EPSS 0,5%Korrektur verfügbar

    jsPDF's PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and "AS" property)

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option. The vulnerability has been fixed in [email protected]. As a workaround, sanitize user input before passing it to the vulnerable API members.

    • Auf 4.2.0 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-25755

    Hoch · CVSS 8.1EPSS 0,95%Korrektur verfügbar

    jsPDF has PDF Object Injection via Unsanitized Input in addJS Method

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in [email protected]. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.

    • Auf 4.2.0 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-25535

    Hoch · CVSS 8.7EPSS 0,84%Korrektur verfügbar

    jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage` method results in denial of service. If given the possibility to pass unsanitized image data or URLs to the `addImage` method, a user can provide a harmful GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the ot

    • Auf 4.2.0 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2026-24040

    Mittel · CVSS 6.3EPSS 0,28%Korrektur verfügbar

    jsPDF has a Shared State Race Condition in addJS Plugin

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, the addJS method in the jspdf Node.js build utilizes a shared module-scoped variable (text) to store JavaScript content. When used in a concurrent environment (e.g., a Node.js web server), this variable is shared across all requests. If multiple requests generate PDFs simultaneously, the JavaScript content intended for one user may be overwritten by a subsequent request before the document is generated. This results in Cross-User Data Leakage, where the PDF generated for User A contains the JavaScript payload (and any embedded sensitive data) intended for User B. Typically, th

    • Auf 4.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2026-24043

    Mittel · CVSS 6.9EPSS 0,29%Korrektur verfügbar

    jsPDF Affected by Stored XMP Metadata Injection (Spoofing & Integrity Violation)

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addMetadata function allows users to inject arbitrary XML. If given the possibility to pass unsanitized input to the addMetadata method, a user can inject arbitrary XMP metadata into the generated PDF. If the generated PDF is signed, stored or otherwise processed after, the integrity of the PDF can no longer be guaranteed. The vulnerability has been fixed in [email protected].

    • Auf 4.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2026-24133

    Hoch · CVSS 8.7EPSS 0,62%Korrektur verfügbar

    jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addImage method results in denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful BMP file that results in out of memory errors and denial of service. Harmful BMP files have large width and/or height entries in their headers, which lead to excessive memory allocation. The html method is also affected. The vulnerability has been fixed in [email protected].

    • Auf 4.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2026-24737

    Hoch · CVSS 8.1EPSS 0,59%Korrektur verfügbar

    jsPDF has a PDF Injection in AcroFormChoiceField which allows Arbitrary JavaScript Execution

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following methods or properties, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim opens the document. The vulnerable API members are AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState. The vulnerability has been fixed in [email protected].

    • Auf 4.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2025-68428

    Kritisch · CVSS 9.2EPSS 2,18%Öffentlicher ExploitKorrektur verfügbar

    jsPDF has Local File Inclusion/Path Traversal vulnerability

    jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js build allows local file inclusion/path traversal. If given the possibility to pass unsanitized paths to the loadFile method, a user can retrieve file contents of arbitrary files in the local file system the node process is running in. The file contents are included verbatim in the generated PDFs. Other affected methods are `addImage`, `html`, and `addFont`. Only the node.js builds of the library are affected, namely the `dist/jspdf.node.js` and `dist/jspdf.node.min.js` files. The vulnerability has

    • Auf 4.0.0 aktualisieren
    Veröffentlicht Aktualisiert
  11. CVE-2025-57810

    Hoch · CVSS 8.7EPSS 0,69%Korrektur verfügbar

    jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)

    jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful PNG file that results in high CPU utilization and denial of service. The vulnerability was fixed in jsPDF 3.0.2.

    • Auf 3.0.2 aktualisieren
    Veröffentlicht Aktualisiert
  12. CVE-2025-29907

    Hoch · CVSS 8.7EPSS 0,7%Korrektur verfügbar

    jsPDF Bypass Regular Expression Denial of Service (ReDoS)

    jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.1, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitised image urls to the addImage method, a user can provide a harmful data-url that results in high CPU utilization and denial of service. Other affected methods are html and addSvgAsImage. The vulnerability was fixed in jsPDF 3.0.1.

    • Auf 3.0.1 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →