Description
The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | pdfkit | 0.0.0 – < unspecified | unspecified |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 10 repositories
-
UNICORDev/exploit-CVE-2022-25765 ★ 31 · Feb 10, 2023
Exploit for CVE-2022–25765 (pdfkit) - Command Injection
-
PurpleWaveIO/CVE-2022-25765-pdfkit-Exploit-Reverse-Shell ★ 20 · Dec 4, 2022
pdfkit <0.8.6 command injection shell. The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized. (Tested on ver 0.8.6) - CVE-2022-25765
-
shamo0/PDFkit-CMD-Injection ★ 16 · Dec 20, 2022
CVE-2022-25765 pdfkit <0.8.6 command injection.
-
nikn0laty/PDFkit-CMD-Injection-CVE-2022-25765 ★ 10 · Jan 29, 2023
Exploit for CVE-2022-25765 command injection in pdfkit < 0.8.6
-
LordRNA/CVE-2022-25765 ★ 3 · Dec 11, 2022
PoC for Blind RCE for CVE-2022-25765 (Tested in HTB - Precious Machine)
-
innocentx0/CVE-2022-25765 ★ 0 · Sep 2, 2026
CVE-2022-25765 | pdfkit v0.8.6 Python PoC
-
Jeanback1/CVE-2022-25765-exploit ★ 0 · May 31, 2026
-
lowercasenumbers/CVE-2022-25765 ★ 0 · Jan 22, 2024
Exploit for CVE-2022-25765
-
lekosbelas/PDFkit-CMD-Injection ★ 0 · Feb 21, 2023
CVE-2022-25765 pdfkit 0.8.6 command injection.
-
Wai-Yan-Kyaw/PDFKitExploit ★ 0 · Dec 7, 2022
A Shell exploit for CVE-2022-25765
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | pdfkit | < 0.8.7.2 | 0.8.7.2 | GHSA-rhwx-hjx2-x4qr |
References
- https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795
- https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/source.rb%23L44-L50
- https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb%23L55-L58
- FEDORA-2022-6da143f1a2 vendor-advisory
- FEDORA-2022-3ec8272e72 vendor-advisory
- FEDORA-2022-c0d55cd527 vendor-advisory
- http://packetstormsecurity.com/files/171746/pdfkit-0.8.7.2-Command-Injection.html