CVE-2026-22787 is a Cross-Site Scripting (XSS) vulnerability found in html2pdf.js versions prior to 0.14.0. This flaw occurs when the library processes text input without proper sanitization, allowing malicious scripts to execute within the client's browser. The vulnerability carries a high CVSS score of 8.7, indicating a significant risk to the confidentiality, integrity, and availability of affected web page data, requiring user interaction for exploitation. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.14.0CPE matchmatch criteria | cpe:2.3:a:ekoopmans:html2pdf.js:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.