Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5340: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smartwpress Music Player for Elementor – Audio Player & Podcast Player

0
Medium
VulnerabilityCVE-2025-5340cvecve-2025-5340cwe-79
Published: Tue Jun 03 2025 (06/03/2025, 11:22:25 UTC)
Source: CVE Database V5
Vendor/Project: smartwpress
Product: Music Player for Elementor – Audio Player & Podcast Player

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-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 15:15:38 UTC

Technical Analysis

CVE-2025-5340 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Music Player for Elementor – Audio Player & Podcast Player plugin for WordPress, maintained by smartwpress. The vulnerability exists due to improper neutralization of input during web page generation, specifically in the handling of the 'album_buy_url' parameter. Versions up to and including 2.4.6 fail to adequately sanitize and escape this parameter, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network (remote), low attack complexity, requiring privileges (Contributor or higher), no user interaction, and a scope change due to potential impact beyond the vulnerable component. Although no public exploits have been reported yet, the vulnerability poses a significant risk given the widespread use of WordPress and the plugin’s popularity. The flaw stems from insufficient input validation and output encoding, a common weakness categorized under CWE-79. Mitigation requires updating the plugin to a patched version once available or applying manual input sanitization and output escaping. Monitoring and restricting Contributor-level user capabilities can also reduce risk. This vulnerability highlights the importance of secure coding practices in WordPress plugins, especially those that accept user-generated content.

Potential Impact

The impact of CVE-2025-5340 can be significant for organizations running WordPress sites with the vulnerable Music Player for Elementor plugin. Successful exploitation allows authenticated users with Contributor-level access to inject persistent malicious scripts, which execute in the browsers of any visitors to the infected pages. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of users, defacement of website content, and potential distribution of malware. Since Contributor-level access is often granted to content creators or editors, the attack surface includes internal users or compromised accounts, increasing the risk of insider threats or account takeover scenarios. The vulnerability does not directly affect availability but compromises confidentiality and integrity of user data and site content. Organizations relying on this plugin for audio or podcast functionality may face reputational damage, loss of user trust, and potential compliance issues if user data is exposed. The medium CVSS score reflects that while exploitation requires some privileges, the ease of attack and broad impact on users visiting the site make this a notable threat.

Mitigation Recommendations

To mitigate CVE-2025-5340, organizations should first verify if they are using the Music Player for Elementor plugin version 2.4.6 or earlier. Immediate steps include: 1) Updating the plugin to the latest version once a patch is released by the vendor, as this is the most effective mitigation. 2) If a patch is not yet available, restrict Contributor-level user permissions to trusted personnel only, minimizing the risk of malicious script injection. 3) Implement Web Application Firewall (WAF) rules to detect and block suspicious payloads targeting the 'album_buy_url' parameter. 4) Conduct manual code review or apply custom input sanitization and output escaping for the vulnerable parameter if feasible. 5) Monitor logs and user activity for signs of exploitation or unusual behavior. 6) Educate content contributors about the risks of injecting untrusted content and enforce strict content policies. 7) Regularly backup website data to enable recovery in case of compromise. These measures, combined with timely patching, will reduce the risk and impact of exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-29T21:55:42.583Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683ee361182aa0cae27416a2

Added to database: 6/3/2025, 11:58:25 AM

Last enriched: 2/27/2026, 3:15:38 PM

Last updated: 3/22/2026, 5:45:57 PM

Views: 64

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses