Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-25755— jsPDF has PDF Object Injection via Unsanitized Input in addJS Method

Quick assessment

Affected
parallax jsPDF
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

jsPDF是Parallax开源的一款基于JavaScript的PDF文档生成库。 jsPDF 4.2.0之前版本存在安全漏洞,该漏洞源于addJS方法对用户输入处理不当,可能导致注入任意PDF对象。

CVSS 8.1 · High EPSS 0.80% · P55

Affected Version Matrix 1

VendorProduct Version RangeStatus
parallax jsPDF < 4.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-25755

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jsPDF has PDF Object Injection via Unsanitized Input in addJS Method
Source: CVE Program / CVE List V5
Vulnerability Description
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 jspdf@4.2.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
jsPDF 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jsPDF是Parallax开源的一款基于JavaScript的PDF文档生成库。 jsPDF 4.2.0之前版本存在安全漏洞,该漏洞源于addJS方法对用户输入处理不当,可能导致注入任意PDF对象。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
parallax jsPDF < 4.2.0 -

II. Public POCs for CVE-2026-25755

# POC Description Source Link Shenlong Link
1 CVE-2026-25755 A critical PDF Object Injection vulnerability in jsPDF allows attackers to inject arbitrary PDF objects through the addJS() function, enabling AcroJS sandbox bypass and automatic script execution when PDFs are opened. https://github.com/absholi7ly/jsPDF-Object-Injection POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25755

请登录查看更多情报信息。

Same Patch Batch · parallax · 2026-02-19 · 3 CVEs total

CVE-2026-25535 8.7 HIGH jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions
CVE-2026-25940 8.1 HIGH jsPDF's PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButto

IV. Related Vulnerabilities

V. Comments for CVE-2026-25755

No comments yet


Leave a comment