html2pdf.js

npm

Is html2pdf.js safe to use?

The latest brin safety scan flagged html2pdf.js v0.14.0 with risk indicators that warrant review. 1 known CVE vulnerability. Trust score: 65/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

html2pdf.js Has Warnings

Warnings detected due to potential concerns

warning
CVEs

1

Threats

0

Install Scripts

0

Risk Indicators

  • Can spawn child processes

html2pdf.js CVE Vulnerabilities (1)

html2pdf.js contains a cross-site scripting vulnerability

Fixed in: 0.14.0

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.
  • Update to a patched version to address 1 high-severity CVE.

Install with brin add html2pdf.js to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

html2pdf.js Capabilities & Permissions

What html2pdf.js can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

cdnjs.cloudflare.comgithub.comjspdf.default.namespaceurirawgit.comwww.w3.org
Protocols: http, https

Process Spawning

This package can spawn child processes.

AGENTS.md for html2pdf.js

Good instructions lead to good results. brin adds html2pdf.js documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

html2pdf.js Documentation & Source Code

For the full html2pdf.js README, API documentation, and source code, visit the official package registry.

Frequently asked questions about html2pdf.js safety

Weekly Downloads

659.1K

Version

0.14.0

License

MIT

Last Scanned

Feb 1, 2026

Trust Score

65/100·Legitimacy signals, not safety

CVEs (1)

CVE-2026-22787

html2pdf.js contains a cross-site scripting vulnerability

Fixed in: 0.14.0

Capabilities

Network

Connects to: cdnjs.cloudflare.com, github.com, jspdf.default.namespaceuri...

Process

Spawns child processes

Is html2pdf.js Safe? | npm Safety Scan - brin