{
 "id": "WPSEC-2026-3662",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3662/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3662/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3662/index.md",
 "title": "WP Statistics <= 14.16.19 - Cross-Site Request Forgery to Arbitrary Plugin Option Update",
 "description": "The WP Statistics plugin for WordPress is vulnerable to Cross-Site Request Forgery via the 'option_updater' AJAX action in all versions up to, and including, 14.16.19. This is due to incorrect nonce validation: the handler accepted the generic 'wp_rest' nonce and wrote any option name to the plugin's settings. In addition, the admin pages copied every URL query parameter into the parameters that page scripts send with their AJAX requests, such as the request the Privacy Audit page sends when it loads. This makes it possible for unauthenticated attackers to change arbitrary plugin settings, such as the minimum roles allowed to view statistics or manage the plugin, or the notification e-mail address, if they can trick a site administrator into clicking a crafted link.",
 "plugin": {
  "slug": "wp-statistics",
  "name": "WP Statistics",
  "full_name": "WP Statistics – Simple, privacy-friendly Google Analytics alternative",
  "wordpress_org": "https://wordpress.org/plugins/wp-statistics/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-statistics/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-statistics"
 },
 "type": "CSRF",
 "cwe": [
  "CWE-352"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "14.13",
    "from_inclusive": true,
    "to": "14.16.20",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 14.13 before 14.16.20"
  ]
 },
 "introduced_in": "14.13",
 "fixed_in": "14.16.20",
 "remediation": "Update to 14.16.20 or later.",
 "fix_released": "2026-11-20T12:27:41+00:00",
 "published": "2026-11-21T12:47:12+00:00",
 "updated": "2026-11-21T09:02:49.173618+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3662/",
  "https://plugins.svn.wordpress.org/wp-statistics/tags/14.16.20/",
  "https://wordpress.org/plugins/wp-statistics/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-statistics",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-11-21"
 }
}