All reports
Critical

PDFKit vulnerable to Command Injection

Affected versions

RubyGemspdfkit
Affected versions
< 0.8.7.2
Fixed version
0.8.7.2

Exploitation

CVE-2022-25765

Probability of exploitation in the next 30 days: 70.64%

FIRST EPSS · 2026-11-24

Description

The package pdfkit is vulnerable to Command Injection where the URL is not properly sanitized.

Note: This issue was patched in 0.8.7.2, but the patch was discovered to be ineffective. The updated patch version is 0.8.7.2.

Links

Credits

  • wonda-tea-coffee
  • kiafaldorius