Description
The Print Button Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'print-button' shortcode in all versions up to, and including, 1.0.1. This is due to insufficient input sanitization and output escaping on the 'target' attribute. 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-10-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored client‑side code injection (XSS) via an insecure shortcode attribute
Action: Immediate Patch
AI Analysis

Impact

The Print Button Shortcode plugin permits stored cross‑site scripting because the ‘target’ attribute passed to the ‘print‑button’ shortcode is neither sanitized nor escaped. Authenticated contributors and higher can inject arbitrary JavaScript that will run in the browsers of any user who views a page containing the malicious shortcode. This client‑side injection (CWE‑79) can lead to credential theft, session hijacking, defacement, or loading of additional malicious content, without affecting server‑side logic.

Affected Systems

WordPress sites running chrishurst’s Print Button Shortcode plugin, versions up to and including 1.0.1. Any installation that uses the shortcode in page content is affected.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score of less than 1 % shows a very low likelihood of exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. However, because the attack requires only a contributor‑level authenticated account, the risk remains noteworthy for sites that grant such permissions and the attack vector involves legitimate content‑editing privileges. Once the payload is stored, it executes for every visitor who accesses the affected page.

Generated by OpenCVE AI on April 22, 2026 at 12:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Print Button Shortcode plugin to the latest release (≥1.0.2) where the ‘target’ attribute is validated and output escaped.
  • Revoke contributor or higher editing permissions for users who do not require access to shortcode‑enabled content, or enforce stricter role restrictions.
  • Remove or sanitize any existing ‘target’ attributes in stored shortcode content; if the plugin remains in use, consider disabling it or replacing it with a security‑audited alternative.

Generated by OpenCVE AI on April 22, 2026 at 12:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Oct 2025 10:30:00 +0000

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

Wed, 22 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Oct 2025 08:45:00 +0000

Type Values Removed Values Added
Description The Print Button Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'print-button' shortcode in all versions up to, and including, 1.0.1. This is due to insufficient input sanitization and output escaping on the 'target' attribute. 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 Print Button Shortcode <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 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:47:09.373Z

Reserved: 2025-10-15T15:30:54.714Z

Link: CVE-2025-11810

cve-icon Vulnrichment

Updated: 2025-10-22T15:01:17.355Z

cve-icon NVD

Status : Deferred

Published: 2025-10-22T09:15:32.870

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

Link: CVE-2025-11810

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T12:45:17Z

Weaknesses