CVE-2025-8397
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Save as PDF Button WordPress plugin via shortcode attribute allows contributors+ to inject arbitrary scripts.
The Save as PDF Button plugin for WordPress suffers from a stored cross-site scripting (XSS) vulnerability in versions up to and including 1.9.2. The flaw exists in the restpackpdfbutton shortcode, where user-supplied attributes are not properly sanitized or escaped before being output [1]. This oversight enables attackers to inject arbitrary web scripts into pages.
Exploitation requires an authenticated user with at least contributor-level access. The attacker can embed a malicious shortcode attribute (e.g., button_text) containing JavaScript, which will be stored and executed whenever a victim views the affected page.
Successful injection leads to arbitrary script execution in the context of the victim's browser, potentially allowing session hijacking, defacement, or redirection to malicious sites.
The plugin has been closed as of September 10, 2025, due to this security issue and is not available for download [2]. No patched version exists; users should remove the plugin immediately.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.