{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4617",
 "modified": "2026-12-04T14:50:37Z",
 "published": "2026-12-04T14:50:37Z",
 "summary": "Google XML Sitemaps <= 4.1.25 - Missing Authorization to Beta Program Opt-In",
 "details": "The XML Sitemap Generator for Google plugin for WordPress is vulnerable to unauthorized modification of data via the directly accessible upgrade-plugin.php beta consent script in all versions from 4.1.23 up to, and including, 4.1.25. This is due to the script's capability and nonce checks only running when the 'action' parameter is 'yes', while the consent write and the beta signup request run for any 'action' value. This makes it possible for unauthenticated attackers to set the 'sm_user_consent' option to 'yes', which turns on the plugin's Google Tag Manager tracking on its settings page. The same request also sends the beta signup to the vendor's service and, if the service accepts it, changes further plugin options and runs the plugin's rewrite and IndexNow setup routines. If an attacker tricks a logged-in administrator into opening a crafted link, the administrator's email address and username are also sent to the vendor's service without their consent.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "google-sitemap-generator"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "4.1.23"
      },
      {
       "fixed": "4.1.26"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 4.1.23 before 4.1.26"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4617/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/google-sitemap-generator/tags/4.1.26/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/google-sitemap-generator/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4617/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
