{
 "id": "WPSEC-2026-1654",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1654/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1654/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1654/index.md",
 "title": "ThinkRank AI SEO <= 2.17.1 - Authenticated (Contributor+) Server-Side Request Forgery and API Key Exposure via 'base_url' Parameter",
 "description": "The ThinkRank AI SEO plugin for WordPress is vulnerable to Server-Side Request Forgery via the 'base_url' parameter of the /ai/test-connection and /ai/models REST routes in all versions up to, and including, 2.17.1. This is due to the routes accepting an arbitrary OpenAI-compatible endpoint URL from any user granted the delegable AI Tools (thinkrank_content_tools) capability, and attaching the site's saved OpenAI-compatible API key to the request whenever no key was supplied, whatever URL was given. This makes it possible for authenticated attackers with Contributor-level access and above who have been granted AI Tools access through the plugin's Role Manager to receive the site's saved API key in the Authorization header on a host they control, and to send requests from the server to loopback and private network addresses.",
 "plugin": {
  "slug": "thinkrank",
  "name": "ThinkRank AI SEO",
  "full_name": "ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO",
  "wordpress_org": "https://wordpress.org/plugins/thinkrank/",
  "advisories_url": "https://wpsec.com/vuln/plugin/thinkrank/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/thinkrank"
 },
 "type": "SSRF",
 "cwe": [
  "CWE-918"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.1,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.8.0",
    "from_inclusive": true,
    "to": "2.18.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.8.0 before 2.18.0"
  ]
 },
 "introduced_in": "2.8.0",
 "fixed_in": "2.18.0",
 "remediation": "Update to 2.18.0 or later.",
 "fix_released": "2026-10-25T06:46:25+00:00",
 "published": "2026-10-26T07:47:27+00:00",
 "updated": "2026-10-25T10:58:06.666520+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1654/",
  "https://plugins.svn.wordpress.org/thinkrank/tags/2.18.0/",
  "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-10-26"
 }
}