CVE-2025-5340
Description
The Music Player for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘album_buy_url’ parameter in all versions up to, and including, 2.4.6 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Music Player for Elementor plugin via album_buy_url parameter allows Contributor+ users to inject scripts.
Vulnerability
Overview The Music Player for Elementor plugin for WordPress suffers from a stored cross-site scripting (XSS) vulnerability in the album_buy_url parameter. The flaw arises from insufficient input sanitization and output escaping, allowing malicious input to be stored and later executed in the context of a user's browser. This affects all versions up to and including 2.4.6 [1].
Exploitation
Prerequisites An attacker must be authenticated with at least Contributor-level access to the WordPress site. The attacker can inject arbitrary web scripts via the album_buy_url parameter when creating or editing a music player widget. The injected script will execute whenever any user accesses the page containing the malicious widget.
Impact
Successful exploitation enables the attacker to perform actions such as stealing session cookies, redirecting users to malicious sites, or defacing the site. Since the attack is stored, it can affect all visitors to the compromised page, including administrators.
Mitigation
As of the publication date, no patch has been announced. Users are advised to update the plugin to the latest version if a security update becomes available. Until then, restrict Contributor-level access to trusted users only.
AI Insight generated on May 20, 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
4- plugins.trac.wordpress.org/browser/music-player-for-elementor/tags/2.4.6/classes/widgets/slide-music-player-free.phpnvd
- plugins.trac.wordpress.org/changeset/3304812/nvd
- wordpress.org/plugins/music-player-for-elementor/nvd
- www.wordfence.com/threat-intel/vulnerabilities/id/193d9625-34ab-497f-987e-5a53ca01e73envd
News mentions
0No linked articles in our index yet.