CVE-2026-4073
Stored XSS in pdfl.io WordPress Plugin via 'pdflio' Shortcode
Publication date: 2026-04-08
Last updated on: 2026-04-08
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pdfl.io | pdfl.io | to 1.0.5 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The pdfl.io plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 1.0.5. This vulnerability exists because the plugin does not properly sanitize or escape user input in the 'text' attribute of the 'pdflio' shortcode. Specifically, the output_shortcode() function directly inserts user-supplied text into HTML output without using escaping functions like esc_html().
As a result, authenticated users with Contributor-level access or higher can inject malicious scripts into pages. These scripts will execute whenever any user views the affected page.
How can this vulnerability impact me? :
This vulnerability allows attackers with Contributor-level access or above to inject arbitrary web scripts into pages. These scripts can execute in the browsers of users who visit the infected pages, potentially leading to unauthorized actions such as stealing session cookies, defacing content, or performing actions on behalf of the user.
Because the vulnerability is a Stored Cross-Site Scripting issue, the malicious code persists on the site and affects all users who access the compromised pages.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should update the pdfl.io WordPress plugin to a version later than 1.0.5 where the issue is fixed.
Additionally, restrict Contributor-level and above users from injecting untrusted content via the 'pdflio' shortcode until the plugin is updated.
Applying proper input sanitization and output escaping in custom code or plugin patches can also help mitigate the risk.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves the pdfl.io WordPress plugin versions up to 1.0.5, where the 'pdflio' shortcode's 'text' attribute is vulnerable to Stored Cross-Site Scripting due to insufficient input sanitization.
To detect this vulnerability on your system, you should check if the pdfl.io plugin is installed and its version is 1.0.5 or below.
You can also scan your WordPress pages or posts for the presence of the 'pdflio' shortcode with suspicious or unexpected script tags or HTML injected in the 'text' attribute.
- Use WP-CLI to list installed plugins and their versions: `wp plugin list`
- Search for the shortcode usage in your WordPress database posts table: `wp db query "SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[pdflio%';"`
- Look for suspicious script tags or HTML in the output of the above query that could indicate stored XSS payloads.
- Monitor HTTP responses for injected scripts when accessing pages that use the 'pdflio' shortcode.