{
 "id": "WPSEC-2026-3186",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3186/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3186/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3186/index.md",
 "title": "ThinkRank AI SEO <= 2.21.3 - Authenticated (Contributor+) Missing Authorization to Settings Categories via 'category' Parameter Override",
 "description": "The ThinkRank AI SEO plugin for WordPress is vulnerable to Missing Authorization via the /settings-management/category/{category} REST routes in all versions up to, and including, 2.21.3. This is due to the permission callback and the Role Manager REST gate checking the category in the URL path, while get_category_settings() and update_category_settings() use get_param('category'), which takes a 'category' value from the query string or request body before the path. This makes it possible for authenticated attackers with Contributor-level access and above, whose role an administrator has given any one ThinkRank section, to read and change the settings of any other category, including the plugin-wide core and integrations settings, by calling their own category's route with a different 'category' parameter.",
 "plugin": {
  "slug": "thinkrank",
  "name": "ThinkRank AI SEO",
  "full_name": "ThinkRank SEO – AI SEO Plugin for SEO & Google Search Console",
  "wordpress_org": "https://wordpress.org/plugins/thinkrank/",
  "advisories_url": "https://wpsec.com/vuln/plugin/thinkrank/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/thinkrank"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-863"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.2,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.2.0",
    "from_inclusive": true,
    "to": "2.21.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.2.0 before 2.21.4"
  ]
 },
 "introduced_in": "2.2.0",
 "fixed_in": "2.21.4",
 "remediation": "Update to 2.21.4 or later.",
 "fix_released": "2026-11-15T12:42:01+00:00",
 "published": "2026-11-16T12:52:16+00:00",
 "updated": "2026-11-15T17:21:16.362566+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3186/",
  "https://plugins.svn.wordpress.org/thinkrank/tags/2.21.4/",
  "https://wordpress.org/plugins/thinkrank/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/thinkrank",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-16"
 }
}