CVE-2026-4073
Received Received - Intake
Stored XSS in pdfl.io WordPress Plugin via 'pdflio' Shortcode

Publication date: 2026-04-08

Last updated on: 2026-04-08

Assigner: Wordfence

Description
The pdfl.io plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pdflio' shortcode in all versions up to, and including, 1.0.5. This is due to insufficient input sanitization and output escaping on the 'text' shortcode attribute. The output_shortcode() function directly concatenates the user-supplied $text variable into HTML output without applying esc_html() or any other escaping function. 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-08
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2026-04-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
pdfl.io pdfl.io to 1.0.5 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart