{
 "id": "WPSEC-2026-3242",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3242/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3242/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3242/index.md",
 "title": "JS Help Desk – AI-Powered Support & Ticketing System <= 5.0.6 - Authenticated (Help Desk Agent+) SQL Injection via 'tablename' Parameter",
 "description": "The JS Help Desk – AI-Powered Support & Ticketing System plugin for WordPress is vulnerable to SQL Injection via the 'tablename' parameter of the ticket edit form in all versions up to, and including, 5.0.6, due to the JSSTtable::setColumns() update routine copying every submitted key that matches an object property onto the table object, including the internal 'tablename' property. WordPress then places that value, without escaping, into the table metadata query it runs before the UPDATE. This makes it possible for authenticated attackers with a help desk agent role that may edit tickets, and above, to add SQL to that query and extract sensitive information from the database.",
 "plugin": {
  "slug": "js-support-ticket",
  "name": "JS Help Desk – AI-Powered Support & Ticketing System",
  "full_name": "JS Help Desk – AI-Powered Support & Ticketing System",
  "wordpress_org": "https://wordpress.org/plugins/js-support-ticket/",
  "advisories_url": "https://wpsec.com/vuln/plugin/js-support-ticket/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/js-support-ticket"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "5.0.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 5.0.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "5.0.7",
 "remediation": "Update to 5.0.7 or later.",
 "fix_released": "2026-11-16T07:52:49+00:00",
 "published": "2026-11-17T08:51:05+00:00",
 "updated": "2026-11-16T23:30:33.480306+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3242/",
  "https://plugins.svn.wordpress.org/js-support-ticket/tags/5.0.7/",
  "https://wordpress.org/plugins/js-support-ticket/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/js-support-ticket",
 "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-17"
 }
}