CVE-2023-54351 WordPress Sonaar Music Plugin 4.7 Stored XSS via Comments

Medium 5.1 Published Updated

Unauthenticated attackers can inject malicious scripts via comments in the Sonaar Music Plugin, leading to code execution in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-54351?

CVE-2023-54351 is a medium-severity cross-site scripting vulnerability in Sonaar Music Plugin, published on 8 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2023-54351?

How do I fix CVE-2023-54351?

No fix has been published for CVE-2023-54351 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-54351 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-54351 exists.

Sources

Also known as GHSA-mqpf-p827-ffx5.

Is CVE-2023-54351 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free