rtMedia for WordPress, BuddyPress and bbPress <= 4.7.16 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Uploader Shortcode Attributes

Medium 6.4 CWE-79Fixed in 4.7.17
ID
WPSEC-2026-2808
Plugin
rtMedia for WordPress, BuddyPress and bbPress (buddypress-media)
Affected
from 4.3 before 4.7.17
Remediation
Update to 4.7.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 Low · Affected versions Low among sites WPSec scans, 2026-11-10
Attack surface
rtMedia for WordPress, BuddyPress and bbPress on WPSec AttackSurface
Fix released
Published

Description

The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'upload_parent_id_type', 'upload_parent_id' and 'upload_parent_id_context' attributes of the plugin's 'rtmedia_uploader' shortcode in all versions up to, and including, 4.7.16. This is due to insufficient output escaping: these values were concatenated unescaped into the id and data-media_context HTML attributes of the comment uploader markup, which was echoed either raw or filtered with an allowlist that permits script and iframe tags. This makes it possible for authenticated attackers, with contributor-level access and above through post shortcodes, and subscribers who can upload media through a media description, to inject arbitrary web scripts in pages that will execute whenever a logged-in user accesses an injected page.

References

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

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

License: CC BY 4.0