Google XML Sitemaps <= 4.1.25 - Missing Authorization to Beta Program Opt-In
- ID
- WPSEC-2026-4617
- Plugin
- XML Sitemap Generator for Google (google-sitemap-generator)
- Affected
- from 4.1.23 before 4.1.26
- Remediation
- Update to 4.1.26 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-862
- Usage
- Plugin Medium · Affected versions Low among sites WPSec scans, 2026-12-04
- Attack surface
- Google XML Sitemaps on WPSec AttackSurface
- Fix released
- Published
Description
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.
References
- https://wpsec.com/vuln/WPSEC-2026-4617/
- https://plugins.svn.wordpress.org/google-sitemap-generator/tags/4.1.26/
- https://wordpress.org/plugins/google-sitemap-generator/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS