html2pdf.js vulnerabilities and fixes
Recent CVEs affecting html2pdf.js, with upgrade or downgrade steps. 1 tracked.
Also searched as: html2pdf js, html2pdfjs.
html2pdf.js has 1 tracked vulnerability, 0 critical. A fixed release or vendor patch exists for 1. Most recent: 2026-01-14. Highest priority: CVE-2026-22787 (score 35/100).
- CVE-2026-22787 MEDIUM 6.1 UPGRADE html2pdf.js converts any webpage or element into a printable PDF entirely client-side
FAQ
How do I fix html2pdf.js vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is html2pdf.js being exploited right now?
None of the tracked html2pdf.js CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which html2pdf.js CVE should I patch first?
CVE-2026-22787 currently ranks highest (35/100): html2pdf.js converts any webpage or element into a printable PDF entirely client-side.