Is pdfkit 0.8 vulnerable?

RubyGems · 13 releases from 0.8.0 to 0.8.7.3 · latest pdfkit is 0.8.7.3 · checked 18 Nov 2026

No known advisories in the last release

pdfkit 0.8.7.3, the last 0.8 release, has no known advisories. 1 advisory affects earlier 0.8.x releases, so update to 0.8.7.3.

Update within 0.8:bundle update --conservative pdfkit # Gemfile: '>= 0.8.7.3'

Is your project on an affected pdfkit?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 0.8.x, affecting earlier releases

  • CriticalCVE-2022-25765GHSA-rhwx-hjx2-x4qr10 Sept 2022

    PDFKit vulnerable to Command Injection

    Affected
    <0.8.7.2
    Fixed in
    0.8.7.2

Every pdfkit 0.8.x release

Affected: 0.8.0 to 0.8.7.1. 0.8.7.2 and later are not affected.

VersionKnown advisories
pdfkit 0.8.7.3None
pdfkit 0.8.7.2None
pdfkit 0.8.7.1CVE-2022-25765
pdfkit 0.8.7CVE-2022-25765
pdfkit 0.8.6CVE-2022-25765
pdfkit 0.8.5CVE-2022-25765
pdfkit 0.8.4.2CVE-2022-25765
pdfkit 0.8.4.1CVE-2022-25765
pdfkit 0.8.4CVE-2022-25765
pdfkit 0.8.3CVE-2022-25765
pdfkit 0.8.2CVE-2022-25765
pdfkit 0.8.1CVE-2022-25765
pdfkit 0.8.0CVE-2022-25765

Which of your client projects are still on pdfkit 0.8?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact pdfkit version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other pdfkit versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.