Is pdfkit 0.7 vulnerable?

RubyGems · 1 release from 0.7.0 to 0.7.0 · latest pdfkit is 0.8.7.3 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. pdfkit 0.7.0, the last 0.7 release, is affected by 1 known security advisory (1 critical), including CVE-2022-25765. Upgrade to 0.8.7.2 or later to fix all of them.

Upgrade with:bundle update --conservative pdfkit # Gemfile: '>= 0.8.7.2'

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

Advisories affecting pdfkit 0.7.0

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

    PDFKit vulnerable to Command Injection

    Affected
    <0.8.7.2
    Fixed in
    0.8.7.2

Which of your client projects are still on pdfkit 0.7?

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.