{
 "id": "WPSEC-2026-3329",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3329/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3329/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3329/index.md",
 "title": "rtMedia for WordPress, BuddyPress and bbPress <= 4.7.17 - Authenticated (Subscriber+) SQL Injection via 'custom_fields' Parameter",
 "description": "The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to SQL Injection via the 'custom_fields' media upload parameter in all versions from 3.7.33 up to, and including, 4.7.17. The cause is unsafe rewriting of queries in the rtm_filter_metaid_column_name() query filter, which renames the meta_id column for the media meta table. The filter replaced each quoted literal with a '__QUOTE__' placeholder and then put the literals back one at a time at the first placeholder it found. When a meta key supplied by the user contains the text '__QUOTE__', the next literal (the user-supplied meta value) is put inside the key. This undoes the quoting added by the database layer. This makes it possible for authenticated attackers, with subscriber-level access and above, to place their own text outside of quotes and append additional SQL to the media meta INSERT query in order to extract sensitive information from the database.",
 "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": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.7.33",
    "from_inclusive": true,
    "to": "4.7.18",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.7.33 before 4.7.18"
  ]
 },
 "introduced_in": "3.7.33",
 "fixed_in": "4.7.18",
 "remediation": "Update to 4.7.18 or later.",
 "fix_released": "2026-11-17T07:34:30+00:00",
 "published": "2026-11-18T13:46:53+00:00",
 "updated": "2026-11-18T13:12:16.796066+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3329/",
  "https://plugins.svn.wordpress.org/buddypress-media/tags/4.7.18/",
  "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-18"
 }
}