Save as PDF Plugin by PDFCrowd <= 4.6.1 - Authenticated (Contributor+) Arbitrary Function Invocation / Code Injection via 'pdf_created_callback' Shortcode Attribute

8.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-92807
CVSS 8.8 (High)
Publicly Published September 18, 2026
Last Updated September 19, 2026
Researcher Wordfence PRISM - Wordfence

Description

The Save as PDF Plugin by PDFCrowd plugin for WordPress is vulnerable to Arbitrary Function Invocation in all versions up to, and including, 4.6.1 via the `pdf_created_callback` shortcode attribute. The `eval_shortcode()` function copies any non-`button_`/non-`email_` shortcode attribute verbatim into a custom options array without sanitization, allowlist enforcement, or capability checks, and `create_button()` AES-encrypts that array — including the attacker-supplied callback value — and embeds the resulting blob in the rendered button HTML; when the blob is later POSTed to the unauthenticated `wp_ajax_nopriv_save_as_pdf_pdfcrowd` endpoint, `save_as_pdf_pdfcrowd()` decrypts it and invokes `$options['pdf_created_callback']` as a PHP callable at line 1722 with no `is_callable()` guard, no allowlist, and no capability check. This makes it possible for authenticated attackers, with Contributor-level access and above, to invoke arbitrary PHP functions or static class methods with plugin option data as the sole argument, enabling disclosure of the site's stored PDFCrowd API key and username or further server-side abuse. Note that the encryption boundary does not mitigate this vector because the server itself encrypts the attacker-chosen callback during shortcode rendering, supplying any authenticated Contributor with a cryptographically valid blob that any unauthenticated visitor can subsequently replay to trigger invocation.

References

Share

Vulnerability Details for Save as PDF Plugin by PDFCrowd

Software Type Plugin
Software Slug save-as-pdf-by-pdfcrowd (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.6.2, or a newer patched version
Affected Version
  • <= 4.6.1
Patched Version
  • 4.6.2

Recent vulnerabilities in Save as PDF Plugin by PDFCrowd

# Title CVE ID CVSS Researchers Date
1 Save as PDF Plugin by PDFCrowd <= 4.5.5 - Reflected Cross-Site Scripting via options CVE-2026-0862 6.1 Arkadiusz Hydzik January 24, 2026
2 Save as PDF <= 4.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-59552 6.4 Muhammad Yudha - DJ September 22, 2025
3 Save as PDF Plugin by Pdfcrowd <= 4.4.0 - Unauthenticated PHP Object Injection CVE-2025-24671 8.1 LVT-tholv2k January 21, 2025
4 Save as PDF Plugin by Pdfcrowd <= 4.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-10891 6.4 Peter Thaleikis November 19, 2024
5 Save as PDF plugin by Pdfcrowd <= 4.0.0 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-37549 4.4 Cronus July 6, 2024
6 Save as PDF Plugin by Pdfcrowd <= 3.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-35649 6.4 LVT-tholv2k June 3, 2024
7 Save as PDF plugin by Pdfcrowd <= 3.2.0 - Missing Authorization CVE-2024-33684 6.4 Majed Refaea April 26, 2024
8 Save as PDF Plugin by Pdfcrowd <= 3.1.0 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2023-5971 4.4 Avatar Mitul Kumar April 18, 2024
9 Save as PDF <= 3.2.1 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-31930 4.4 Myungju Kim, younsoung kim, SeoHyeon Lee, SeoHee Kang April 10, 2024
10 Save as PDF plugin by Pdfcrowd <= 2.16.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via admin settings CVE-2023-40668 4.4 Mahesh Nagabhairava August 21, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation