{
 "id": "WPSEC-2026-2808",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2808/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2808/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2808/index.md",
 "title": "rtMedia for WordPress, BuddyPress and bbPress <= 4.7.16 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Uploader Shortcode Attributes",
 "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.",
 "plugin": {
  "slug": "buddypress-media",
  "name": "rtMedia for WordPress, BuddyPress and bbPress",
  "full_name": "rtMedia for WordPress, BuddyPress and bbPress",
  "wordpress_org": "https://wordpress.org/plugins/buddypress-media/",
  "advisories_url": "https://wpsec.com/vuln/plugin/buddypress-media/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/buddypress-media"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.3",
    "from_inclusive": true,
    "to": "4.7.17",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.3 before 4.7.17"
  ]
 },
 "introduced_in": "4.3",
 "fixed_in": "4.7.17",
 "remediation": "Update to 4.7.17 or later.",
 "fix_released": "2026-11-09T13:01:34+00:00",
 "published": "2026-11-10T13:45:29+00:00",
 "updated": "2026-11-09T23:36:15.440345+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2808/",
  "https://plugins.svn.wordpress.org/buddypress-media/tags/4.7.17/",
  "https://wordpress.org/plugins/buddypress-media/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/buddypress-media",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-10"
 }
}