Arbitrary Code Injection in jsPDF Library by Parallax
CVE-2026-25940

8.1HIGH

Key Information:

Vendor

Parallax

Status
Vendor
CVE Published:
19 February 2026

What is CVE-2026-25940?

The jsPDF library, widely used for generating PDFs in JavaScript, has a significant vulnerability prior to version 4.2.0. This issue arises from inadequate control over the properties and methods of the Acroform module, allowing malicious users to inject arbitrary PDF objects, including JavaScript actions, which execute upon user interaction, such as hovering over a radio button. While the vulnerability has been addressed in version 4.2.0, it is crucial for developers to sanitize user inputs rigorously to prevent exploitation through untrusted data.

Affected Version(s)

jsPDF < 4.2.0

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.