Gathering detailed insights and metrics for pdfjs-dist
Gathering detailed insights and metrics for pdfjs-dist
Gathering detailed insights and metrics for pdfjs-dist
Gathering detailed insights and metrics for pdfjs-dist
@types/pdfjs-dist
Stub TypeScript definitions entry for pdfjs-dist, which provides its own types definitions
pdfjs-dist-sign
Generic build of Mozilla's PDF.js library.
@bundled-es-modules/pdfjs-dist
mirror of pdfjs-dist, bundled and exposed as ES module
pdfjs-dist-sig
Generic build of Mozilla's PDF.js library.
npm install pdfjs-dist
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.1
Supply Chain
76.8
Quality
92.4
Maintenance
100
Vulnerability
87.3
License
JavaScript (70.52%)
Fluent (26.59%)
CSS (1.96%)
HTML (0.9%)
TypeScript (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
51,247 Stars
20,993 Commits
10,374 Forks
1,122 Watchers
1 Branches
401 Contributors
Updated on Jul 13, 2025
Latest Version
5.3.93
Package Id
pdfjs-dist@5.3.93
Unpacked Size
33.69 MB
Size
9.03 MB
File Count
375
NPM Version
10.9.2
Node Version
22.16.0
Published on
Jul 06, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
PDF.js is a Portable Document Format (PDF) library that is built with HTML5. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.
This is a pre-built version of the PDF.js source code. It is automatically generated by the build scripts.
For usage with older browsers/environments, without native support for the
latest JavaScript features, please see the legacy/
folder.
Please see this wiki page for information about supported browsers/environments.
See https://github.com/mozilla/pdf.js for learning and contributing.
8.8/10
Summary
Malicious PDF can inject JavaScript into PDF Viewer
Affected Versions
< 1.10.100
Patched Versions
1.10.100
8.8/10
Summary
Malicious PDF can inject JavaScript into PDF Viewer
Affected Versions
>= 2.0.0, < 2.0.550
Patched Versions
2.0.550
8.8/10
Summary
PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
Affected Versions
<= 4.1.392
Patched Versions
4.2.67
Reason
security policy file detected
Details
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
SAST tool is run on all commits
Details
Reason
project is fuzzed
Details
Reason
0 existing vulnerabilities detected
Reason
Found 14/16 approved changesets -- score normalized to 8
Reason
binaries present in source code
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Project has not signed or included provenance with any releases.
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More