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.
Published: 2026-04-08
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Now
AI Analysis

Impact

The pdfl.io plugin for WordPress is vulnerable to stored cross‑site scripting caused by insufficient sanitization of the 'text' attribute in the 'pdflio' shortcode. Authenticated users with Contributor-level access or higher can inject arbitrary HTML and JavaScript, leading to malicious script execution when any visitor loads a page that contains the compromised shortcode. This can be used to steal session cookies, deface content, or redirect users to phishing sites. The flaw resides in the output_shortcode() function, which concatenates the user‑supplied $text variable without employing escaping functions such as esc_html(), aligning with CWE‑79 for unvalidated input.

Affected Systems

The vulnerability affects the pdfl.io WordPress plugin developed by Doug Black Jr. All releases up to and including version 1.0.5 are impacted. WordPress sites that have installed any of these versions and have users with Contributor or higher roles are susceptible.

Risk and Exploitability

The CVSS score of 6.4 indicates medium severity, and the vulnerability is not yet listed in the CISA KEV catalog. Exploitability is limited to authenticated users with Contributor or higher privileges, which means a site with weak role assignment or compromised account can be used as an attack surface. An attacker can inject persistent scripts into content that will run in the browsers of all visitors, enabling credential theft or site defacement. While the direct vector requires authentication, the damage can affect all site users once the malicious content is served.

Generated by OpenCVE AI on April 8, 2026 at 10:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the pdfl.io plugin to the latest release that removes the XSS vulnerability.
  • If an update is not immediately possible, disable or delete the plugin to stop the risk of script injection.
  • Revoke Contributor‑level access from users who do not need it, and apply the least privilege principle for WordPress roles.
  • Deploy web‑application security monitoring or a WAF that blocks unexpected scripts and review logs for suspicious shortcode usage.

Generated by OpenCVE AI on April 8, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Apr 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Dougblackjr
Dougblackjr pdfl.io
Wordpress
Wordpress wordpress
Vendors & Products Dougblackjr
Dougblackjr pdfl.io
Wordpress
Wordpress wordpress

Wed, 08 Apr 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 09:45:00 +0000

Type Values Removed Values Added
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.
Title pdfl.io <= 1.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'text' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Dougblackjr Pdfl.io
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:43:47.056Z

Reserved: 2026-03-12T19:50:33.445Z

Link: CVE-2026-4073

cve-icon Vulnrichment

Updated: 2026-04-08T16:01:23.658Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-08T10:16:01.777

Modified: 2026-04-08T21:26:13.410

Link: CVE-2026-4073

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-08T19:39:57Z

Weaknesses