Every CVE Search/ Get API key

CVE-2022-25765

Command Injection

7.3 HighPublic exploitFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

42.5%Up 41.5 points since Sep 9, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.3

Command Injection

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

Record
CVE-2022-25765
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-02
EUVDEUVD-2022-6937 7.3

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

Record
EUVD-2022-6937
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-03
GitHub AdvisoriesGHSA-rhwx-hjx2-x4qr 9.8

PDFKit vulnerable to Command Injection

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.

Record
GHSA-rhwx-hjx2-x4qr
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
NVD 7.3

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

Record
CVE-2022-25765
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-rhwx-hjx2-x4qr 9.8

PDFKit vulnerable to Command Injection

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.

Record
GHSA-rhwx-hjx2-x4qr
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pdfkit
RubyGems
before 0.8.7.2
0.8.7.2
pdfkit
RubyGems
before 0.8.7.2, plus listed versions
0.1.00.1.10.2.00.2.10.2.2
Show 33 moreShow less
0.2.30.3.00.3.10.3.20.3.30.4.00.4.10.4.20.4.30.4.40.4.50.4.60.5.00.5.10.5.20.5.30.5.40.6.10.6.20.7.00.8.00.8.10.8.20.8.30.8.40.8.4.10.8.4.20.8.4.3.10.8.4.3.20.8.50.8.60.8.70.8.7.1
0.8.7.2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubJeanback1/CVE-2022-25765-exploit2026-05-31
PoC in GitHubLordRNA/CVE-2022-257652022-12-11
PoC in GitHubPurpleWaveIO/CVE-2022-25765-pdfkit-Exploit-Reverse-Shell2022-12-04
PoC in GitHubUNICORDev/exploit-CVE-2022-257652023-02-10
PoC in GitHubWai-Yan-Kyaw/PDFKitExploit2022-12-07
PoC in GitHubinnocentx0/CVE-2022-257652026-09-02
PoC in GitHublekosbelas/PDFkit-CMD-Injection2023-02-21
PoC in GitHublowercasenumbers/CVE-2022-257652024-01-22
PoC in GitHubnikn0laty/PDFkit-CMD-Injection-CVE-2022-257652023-01-29
PoC in GitHubshamo0/PDFkit-CMD-Injection2022-12-20

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-25765 is a high vulnerability (CVSS 7.3) in Pdfkit Project Pdfkit, published September 9, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 42.5%, the 98th percentile. Fixed in pdfkit 0.8.7.2.

References

Show 12 moreShow less
MoveEnter Open