CVE-2025-4221

Animated Buttons <= 1.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published May 21, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Animated Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'auto-downloader' shortcode in all versions up to, and including, 1.0.0 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.

Analysis

AI-generated

Technical impact

The Animated Buttons WordPress plugin allows authenticated contributors or higher to add a shortcode that accepts arbitrary user supplied attributes. Because the plugin fails to sanitize these attributes and escape the resulting output, any injected script will be stored and executed whenever a page containing the shortcode is loaded, effectively granting the attacker the ability to run arbitrary Javascript in the browsers of all visitors to that page.

Affected Systems

WordPress sites that have the Animated Buttons plugin installed, in any version up to and including 1.0.0. The vulnerability applies to any environment where the site administrator has granted Contributor or higher role permissions to users, as only such users can create or edit content with the plugin's shortcode.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score of less than 1% suggests that exploitation of this flaw is currently not widespread, and it is not listed in the CISA KEV catalog. Nevertheless, an attacker who has Contributor or higher access can persistently inject malicious scripts that will run in the browsers of all visitors on affected pages. The necessary conditions—having contributor privileges and adding a page or post with the auto‑downloader shortcode—are relatively low barriers for site administrators or malicious insiders. Once injected, the script can read cookies, hijack sessions, or perform other client‑side attacks on unsuspecting users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Animated Buttons plugin to the newest release that removes the vulnerable shortcode or, if no update is available, uninstall the plugin entirely.
  • Restrict Contributor and higher roles from the site, or implement a role‑based policy that limits who can create or edit content with the auto‑downloader shortcode.
  • If the plugin must remain in use, modify its code to properly sanitize all shortcode attributes and escape output before rendering, or apply a reputable security hardening plugin that blocks XSS injection.

Generated by OpenCVE AI on April 20, 2026 at 22:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16075 The Animated Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'auto-downloader' shortcode in all versions up to, and including, 1.0.0 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.
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The Animated Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'auto-downloader' shortcode in all versions up to, and including, 1.0.0 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 Animated Buttons <= 1.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
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

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:30 PM
Reserved
May 2, 2025, 1:03 PM
Status
Deferred
Published
May 21, 2025, 12:16 PM
Modified
Jun 17, 2026, 9:32 AM