Compact WP Audio Player <= 1.9.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'fileurl' Shortcode Attribute

Medium 6.4 CWE-79Fixed in 1.9.17
ID
WPSEC-2026-4668
Plugin
Compact WP Audio Player (compact-wp-audio-player)
Affected
all versions before 1.9.17
Remediation
Update to 1.9.17 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-05
Attack surface
Compact WP Audio Player on WPSec AttackSurface
Fix released
Published

Also published later by Wordfence as CVE-2026-139975, on 2026-12-04.

Description

The Compact WP Audio Player plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'fileurl' attribute of the sc_embed_player shortcode in all versions up to, and including, 1.9.16. This is due to insufficient escaping: the value is passed only through esc_url() before being placed inside a JavaScript string in the Play button's onClick handler and in an inline script, and HTML-encoded quotes are decoded before the handler runs. 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 and interacts with the player.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0