CVE-2026-137041: E2Pdf <= 2.00.05 - Unauthenticated Stored Cross-Site Scripting via 'PDF Access By URL' Error Message
The E2Pdf – Export Pdf Tool for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'your-name (or any CF7 field referenced in the action's errormessage/condition)' parameter in all versions up to, and including, 2.00.05 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires a typical deployment where an E2Pdf action with a 'PDF Access By URL' error message references a submitted Contact Form 7 field, as the payload is seeded via a single unauthenticated CF7 submission and triggered by any visitor who opens the resulting shareable download URL.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Exposure requires an E2Pdf action using “PDF Access By URL” with an error message that references a submitted Contact Form 7 field. Deployments without that configuration are not described as exploitable by the provided data.
Does exploitation require an authenticated WordPress account?
No. An attacker can seed the payload through a single unauthenticated Contact Form 7 submission, provided the relevant form field is referenced by the E2Pdf action’s error_message or condition.
When does the injected script execute?
The script executes when any visitor opens the resulting shareable download URL. The attacker does not need to interact with the visitor after creating the malicious submission.
Which versions are affected?
All versions through and including 2.00.05 are affected according to the provided information.