Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain Contributor account access
-
DeliveryCreate or edit page with shortcode
-
ExploitInject malicious id attribute
-
InstallPublish page
-
C2Visitor loads page
-
ExecuteShortcode renders unescaped payload
-
ImpactArbitrary JavaScript executes in visitor's browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) valid WordPress account with Contributor-level access or higher (Editor, Admin); (2) ability to create or edit published pages or posts; (3) the e2pdf-download shortcode must be active and unpatched (versions ≤1.32.17); (4) the injected page must be accessed by at least one user for the script to execute. Exploitation is limited by the authentication requirement - unauthenticated attackers cannot directly inject payloads. However, if an attacker compromises a Contributor account via password reuse, plugin vulnerabilities, or brute-force attacks, the XSS becomes exploitable. Default WordPress installations with multiple contributors or permissive user management increase practical risk. |
| Impact | This vulnerability presents moderate real-world risk despite a CVSS score of 6.4. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible exploitation requiring low complexity and low privileges (Contributor role), with no user interaction needed and changed scope (site-wide impact). The key limiting factor is the authentication requirement (PR:L) - the attacker must have Contributor-level or higher WordPress account permissions, which narrows the threat pool to trusted users, site authors, or compromised accounts. However, Contributor is a default WordPress role often granted to multiple users, and organizational compromises or insider threats can activate this vector. No KEV status or public exploit code is referenced in the input data, suggesting this is not actively exploited at scale. The Stored XSS nature means impact is persistent and affects all site visitors without further attacker interaction. Organizations with loose contributor permissions, vulnerable third-party authentication plugins, or weak access controls face elevated risk. Organizations with strict contributor vetting and role-based access controls face lower practical risk despite the medium CVSS score. |
| Exploit ScenarioDerived | An attacker with a Contributor-level WordPress account creates or edits a published page and inserts a malicious e2pdf-download shortcode with a crafted 'id' attribute containing JavaScript, such as [e2pdf-download id='test" onload="alert(document.cookie)']. When any site visitor (including administrators) loads that page, the unescaped shortcode output renders the injected script, stealing session cookies or redirecting users to a phishing site. No additional user interaction is required; the script fires automatically upon page load. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Stored Cross-Site Scripting in E2Pdf - Export Pdf Tool for WordPress plugin versions up to 1.32.17 allows authenticated attackers with Contributor-level access to inject arbitrary JavaScript via the 'id' attribute of the e2pdf-download shortcode, which executes when any user views the affected page. The vulnerability stems from insufficient input sanitization and output escaping on shortcode attributes, enabling persistent script injection with moderate confidentiality and integrity impact across site scopes.
RemediationAI
Update E2Pdf to version 1.32.18 or later, which includes fixes to the shortcode attribute handling as evidenced by code changes in the plugin repository commit 3522046. Site administrators should navigate to WordPress Admin Dashboard → Plugins → Installed Plugins, locate E2Pdf, and click 'Update Now' to apply the patched version. If immediate patching is not possible, implement compensating controls: restrict Contributor role assignment to trusted users only, review existing page and post content for malicious e2pdf-download shortcodes with suspicious 'id' attributes (look for script tags or event handlers), and disable the e2pdf-download shortcode plugin-wide using a code snippet or security plugin if the PDF export feature is not actively used. Note that disabling the shortcode prevents legitimate PDF exports until the plugin is patched. Audit WordPress user roles and audit logs to identify any unauthorized shortcode injections or suspicious Contributor account activity.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
E2Pdf is a WordPress plugin that provides PDF export functionality via shortcodes. The vulnerability exists in the e2pdf-shortcode.php model class, specifically in the handling of the 'id' attribute within the [e2pdf-download] shortcode. The plugin fails to properly sanitize user input from the shortcode attribute and does not adequately escape output when rendering the shortcode. This is a Stored XSS (CWE-79) vulnerability because the malicious payload is persisted in the WordPress database (via page/post content) and executed server-side when the shortcode is processed, affecting all visitors to that page. The root cause is the absence of both input validation (sanitization) and output encoding (escaping) functions typically provided by WordPress security APIs such as sanitize_text_field() or wp_kses_post() for input, and esc_attr() or esc_html() for output.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The E2Pdf - Export Pdf Tool for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the e2pdf-download shortcode in all versions up to, and including, 1.32.17. This is due to insufficient input sanitization and output escaping on the shortcode attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-28544
GHSA-hr4j-j5wc-96jv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB