Vulnerabilities / WP Statistics / WPSEC-2026-3662

WP Statistics <= 14.16.19 - Cross-Site Request Forgery to Arbitrary Plugin Option Update

Medium 4.3 CWE-352Fixed in 14.16.20
ID
WPSEC-2026-3662
Plugin
WP Statistics – Simple, privacy-friendly Google Analytics alternative (wp-statistics)
Affected
from 14.13 before 14.16.20
Remediation
Update to 14.16.20 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-352
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-21
Attack surface
WP Statistics on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0