Read the docs
TI-2022-09338 Aliases CVE-2022-25765GHSA-rhwx-hjx2-x4qr

Command injection in pdfkit

Priority HIGH 70CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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

Why it matters now

EPSS 0.42503 98th percentileScored 2026-11-07
Fix Fixed pdfkit (RubyGems): 0.8.7.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—pdfkit0.0.0 and later—No fix listedCNA
—pdfkit (RubyGems)before 0.8.7.20.8.7.2Patch availableGHSA-rhwx-hjx2-x4qr
  • pdfkit Vendor— Affected 0.0.0 and later Fixed in — No fix listed CNA
  • pdfkit (RubyGems) Vendor— Affected before 0.8.7.2 Fixed in 0.8.7.2 Patch available GHSA-rhwx-hjx2-x4qr

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:pdfkit_project:pdfkit:*:*:*:*:*:ruby:*:*0.0.0VulnerablePdfkit Project
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
  • cpe:2.3:a:pdfkit_project:pdfkit:*:*:*:*:*:ruby:*:* Versions 0.0.0 Vulnerable ·Pdfkit Project
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-rhwx-hjx2-x4qr pdfkit (RubyGems) Fixed in 0.8.7.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25765
  2. 2026-10-03 Alias added: GHSA-rhwx-hjx2-x4qr

References

Sources