Skip to content
Fencer Vulns
high 7.3

CVE-2022-25765 in the critical feed json

Command Injection

published 2022-09-09 4 y ago modified 2026-06-17 4 mo ago also GHSA-rhwx-hjx2-x4qr , EUVD-2022-6937

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
42.5%
EPSS 42.5% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

Summary

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

Patch / fix

  • rubygems pdfkit 0.8.7.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25765 updated

rubygem-pdfkit: pdfkit are vulnerable to Command Injection where the URL is not properly sanitized.

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-51293)

Exploit prediction

42.50% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-51293 pdfkit v0.8.7.2 - Command Injection local, 2023-04-06
  • security.snyk.io https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
CNA 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems pdfkit
<0.8.7.2
0.8.7.2

Affected products

  • n/a pdfkit

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.