CVE-2023-54351
Deferred Deferred - Pending Action
Stored XSS in Sonaar Music WordPress Plugin

Publication date: 2026-06-08

Last updated on: 2026-06-08

Assigner: VulnCheck

Description
WordPress Sonaar Music Plugin 4.7 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts through the comment functionality. Attackers can submit JavaScript payloads in the comment parameter to wp-comments-post.php which are stored and executed in the browsers of users viewing the affected playlist pages.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-08
Last Modified
2026-06-08
Generated
2026-06-08
AI Q&A
2026-06-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
sonaar music_plugin 4.7
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The WordPress Sonaar Music Plugin version 4.7 contains a stored cross-site scripting (XSS) vulnerability. This flaw allows unauthenticated attackers to inject malicious JavaScript code through the comment functionality, specifically via the comment parameter in the wp-comments-post.php file.

The injected scripts are stored on the server and executed in the browsers of users who view the affected playlist pages, potentially compromising their security.

This vulnerability is classified under CWE-79, which relates to improper neutralization of input during web page generation.

Impact Analysis

This vulnerability can impact you by allowing attackers to execute malicious scripts in the browsers of users who visit the affected playlist pages.

Such scripts can steal sensitive information, hijack user sessions, deface websites, or perform other malicious actions on behalf of the user without their consent.

Because the attack does not require authentication, any visitor or attacker can exploit this vulnerability, increasing the risk.

Detection Guidance

This vulnerability can be detected by testing the comment functionality of the WordPress Sonaar Music Plugin version 4.7, specifically by attempting to inject JavaScript payloads into the comment parameter of wp-comments-post.php.

A common detection method is to submit a test payload such as <script>alert("XSS")</script> in the comment field of a published playlist page and then observe if the script executes when the page is viewed.

Commands or steps to detect this vulnerability include:

  • Use curl or similar tools to POST a comment containing a JavaScript payload to wp-comments-post.php, for example:
  • curl -X POST -d "comment=<script>alert('XSS')</script>&other_required_fields=values" https://targetsite.com/wp-comments-post.php
  • Then, visit the affected playlist page in a browser to check if the alert popup appears, indicating stored XSS.
  • Alternatively, use automated web vulnerability scanners that support detection of stored XSS vulnerabilities on WordPress plugins.
Mitigation Strategies

Immediate mitigation steps include:

  • Disable or remove the Sonaar Music Plugin version 4.7 until a patch or update is available.
  • Restrict or disable the comment functionality on affected playlist pages to prevent injection of malicious scripts.
  • Implement web application firewall (WAF) rules to detect and block malicious JavaScript payloads in comments.
  • Monitor and sanitize user inputs on the comment fields to prevent script injection.
  • Keep WordPress and all plugins updated to the latest versions once a security patch addressing this vulnerability is released.
Compliance Impact

The vulnerability allows unauthenticated attackers to inject malicious scripts that execute in users' browsers, potentially leading to unauthorized access to user data or session hijacking.

Such security weaknesses can impact compliance with standards like GDPR and HIPAA, which require protection of personal data and secure handling of user information to prevent unauthorized access or data breaches.

Specifically, stored cross-site scripting vulnerabilities can lead to exposure of sensitive information or compromise user privacy, thereby violating regulatory requirements for data protection and security.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2023-54351. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart