Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-22787

23
FAUCET Score

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.

Impacted Technologies

VendorProductVersion(s)CPE
< 0.14.0CPE matchmatch criteria
cpe:2.3:a:ekoopmans:html2pdf.js:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 4.0

8.7HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
VS Confidentiality
HIGH
VS Integrity
HIGH
VS Availability
LOW
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.32%
Probability of exploitation in next 30 days
EPSS Percentile
24.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
This CVE's current EPSS score of 0.0032 is in the 25th percentile among its peer group of 26,219 CVEs.

Social Chatter

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.

Media 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.

Remediation

Patch Available

Vendor Patches (1)

npmpatch availablevia ghsa
Product: html2pdf.jsFixed in: 0.14.0

Vendor Advisories (1)

npmGHSA-w8x4-x68c-m6fchigh

html2pdf.js contains a cross-site scripting vulnerability

Jan 14, 2026

References

aydinnyunus.github.io / 2026/01/17/cve-2026-22787-html2pdf-xss-vulnerability
ExploitMitigationThird Party Advisory
github.com / eKoopmans/html2pdf.js/commit/988826e336035b39a8608182d7b73c0e3cd78c7b
Patch
github.com / eKoopmans/html2pdf.js/issues/865
Issue Tracking
github.com / eKoopmans/html2pdf.js/pull/877
Issue TrackingPatch
github.com / eKoopmans/html2pdf.js/releases/tag/v0.14.0
Release Notes
github.com / eKoopmans/html2pdf.js/security/advisories/GHSA-w8x4-x68c-m6fc
PatchVendor Advisory