Description
The Minimal Share Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘align’ parameter in all versions up to, and including, 1.7.3 due to insufficient input sanitization and output escaping. 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-05-30
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross-Site Scripting for authenticated users
Action: Apply Patch
AI Analysis

Impact

The Minimal Share Buttons plugin for WordPress contains a stored cross‑site scripting flaw that is triggered by the align parameter. The flaw results from insufficient input validation and output escaping, allowing a user with Contributor or higher privileges to embed arbitrary JavaScript. When a page containing the malicious align value is viewed, the injected script runs in the context of the site visitor, potentially stealing credentials, defacing content or redirecting traffic. The vulnerability directly compromises the integrity and confidentiality of user sessions.

Affected Systems

WordPress sites that have the Minimal Share Buttons plugin version 1.7.3 or earlier installed. The affected product is the plugin developed by gonzomir, which was released through the WordPress plugin repository. Users who can edit content as Contributors or higher are able to exploit the flaw.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium to high severity for an authenticable vector. The EPSS score of less than 1% suggests that exploitation is unlikely but not impossible, especially in targeted attacks. The vulnerability is not listed in the CISA KEV catalog. The likely attack path requires a logged‑in Contributor or higher user to input a malicious align value through the plugin’s settings or content editing interface; the attacker does not need elevation beyond that role. Once injected, the script executes on all page loads containing the vulnerable element, impacting all visitors to the site.

Generated by OpenCVE AI on April 21, 2026 at 20:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Minimal Share Buttons plugin to a version newer than 1.7.3, which removes the vulnerable align parameter handling.
  • If an immediate update is infeasible, restrict Contributor and higher roles from accessing the plugin’s settings, or remove the align option entirely from the user interface through a custom role‑based permission configuration.
  • As a last resort, deactivate or uninstall the Minimal Share Buttons plugin to eliminate the vulnerable code from the site, and replace it with an alternative that performs proper input validation and sanitization.

Generated by OpenCVE AI on April 21, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-16459 The Minimal Share Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘align’ parameter in all versions up to, and including, 1.7.3 due to insufficient input sanitization and output escaping. 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

Fri, 30 May 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 30 May 2025 05:45:00 +0000

Type Values Removed Values Added
Description The Minimal Share Buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘align’ parameter in all versions up to, and including, 1.7.3 due to insufficient input sanitization and output escaping. 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 Minimal Share Buttons <= 1.7.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via align Parameter
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.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:02:23.914Z

Reserved: 2025-05-27T11:13:44.561Z

Link: CVE-2025-5259

cve-icon Vulnrichment

Updated: 2025-05-30T14:39:38.458Z

cve-icon NVD

Status : Deferred

Published: 2025-05-30T06:15:28.980

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

Link: CVE-2025-5259

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T20:45:25Z

Weaknesses