Description
The CSS3 Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'button' shortcode in all versions up to, and including, 0.1 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-12-06
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via shortcode attributes that executes on page load
Action: Immediate Patch
AI Analysis

Impact

The CSS3 Buttons plugin processes a "button" shortcode that accepts arbitrary attributes. Because the plugin does not sufficiently sanitize user input or escape output, an authenticated user with contributor or higher privileges can embed malicious JavaScript in the shortcode attributes. When a victim views the affected page, the injected scripts run in the victim’s browser, providing an attacker a vector for cookie theft, defacement, or credential hijacking. This weakness is a classic Stored Cross‑Site Scripting flaw, classified as CWE‑79.

Affected Systems

Any WordPress site that has the CSS3 Buttons plugin installed, for all releases up to and including version 0.1. A user must have contributor or higher role to inject the malicious payload, while any visitor to the page containing the vulnerable shortcode may be affected.

Risk and Exploitability

With a CVSS score of 6.4, the vulnerability is considered medium severity. The EPSS score of less than 1% indicates that the attack likelihood is low, and the issue is not listed in the CISA KEV catalog. The required authentication means an attacker must first gain login credentials or elevate permissions, but once an exploit is used, the malicious code is stored and will propagate to all visitors of the affected page.

Generated by OpenCVE AI on April 21, 2026 at 17:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the CSS3 Buttons plugin to the current release that includes the XSS fix.
  • Retire or downgrade the Contributor role for users who do not need content creation rights to reduce the attack surface.
  • Export or manually audit all content containing the shortcode to identify and remove any injected scripts.
  • If an update is not immediately available, disable the shortcode on the site or force output escaping on the plugin’s rendering function via a custom code snippet or a security plugin.

Generated by OpenCVE AI on April 21, 2026 at 17:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Dec 2025 10:15:00 +0000

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

Mon, 08 Dec 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 06 Dec 2025 06:00:00 +0000

Type Values Removed Values Added
Description The CSS3 Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'button' shortcode in all versions up to, and including, 0.1 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 CSS3 Buttons <= 0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
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-08T17:19:58.087Z

Reserved: 2025-12-02T16:43:17.235Z

Link: CVE-2025-13907

cve-icon Vulnrichment

Updated: 2025-12-08T21:31:42.183Z

cve-icon NVD

Status : Deferred

Published: 2025-12-06T06:15:53.727

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

Link: CVE-2025-13907

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T17:45:16Z

Weaknesses