Description
The Save as PDF Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's restpackpdfbutton shortcode in all versions up to, and including, 1.9.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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: 2025-11-13
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The Save as PDF Button plugin for WordPress contains a stored cross‑site scripting flaw in the restpackpdfbutton shortcode. Unsanitized user‑supplied attributes allow authenticated contributors or higher to embed arbitrary JavaScript in the generated output. When a site visitor loads a page that contains the injected shortcode, the malicious script runs in the visitor’s browser, enabling phishing, credential theft, or other client‑side attacks.

Affected Systems

All installations of the Save as PDF Button WordPress plugin, version 1.9.2 and earlier, are affected. This includes any WordPress site that has deployed the plugin with those versions.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of less than 1 % suggests low probability of exploitation. The vulnerability is not in the CISA KEV catalog. The attack requires contributor‑level or higher authentication; once an attacker has such access, they can craft a malicious shortcode and add it to a page or post, storing the script for all future visitors. Exploitation can lead to client‑side attacks and possible session compromise.

Generated by OpenCVE AI on April 22, 2026 at 13:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Save as PDF Button plugin to a version greater than 1.9.2 that contains the XSS fix.
  • Remove any pages, posts, or custom content that includes the malicious restpackpdfbutton shortcode.
  • Restrict contributor‑level permissions or temporarily revoke contributor access until content is audited, and review contributor submissions for malicious code.

Generated by OpenCVE AI on April 22, 2026 at 13:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Nov 2025 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Thu, 13 Nov 2025 08:45:00 +0000

Type Values Removed Values Added
Description The Save as PDF Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's restpackpdfbutton shortcode in all versions up to, and including, 1.9.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Save as PDF Button <= 1.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via restpackpdfbutton Shortcode
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

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

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

Reserved: 2025-07-30T21:17:11.981Z

Link: CVE-2025-8397

cve-icon Vulnrichment

Updated: 2025-11-13T19:17:39.687Z

cve-icon NVD

Status : Deferred

Published: 2025-11-13T09:15:47.227

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-8397

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T14:00:18Z

Weaknesses