# Zero Spam for WordPress <= 6.0.1 - Authenticated (Administrator+) Insecure Direct Object Reference to Cross-Site API Usage Export on Multisite

- **ID:** WPSEC-2026-3743
- **Plugin:** Zero Spam for WordPress (`zero-spam`), https://wordpress.org/plugins/zero-spam/
- **Affected versions:** from 5.7.0 before 6.0.2
- **Fixed in:** 6.0.2 (Update to 6.0.2 or later.)
- **Severity:** Low 2.7 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/zero-spam
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3743/

## Description

The Zero Spam for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'site_id' parameter of the zero-spam/v1/api-usage/export REST route in versions 5.7.0 up to, and including, 6.0.1. This is due to missing validation that the user may read the requested site: the route's permission check only requires manage_options on the current site, and the export handler passes any 'site_id' to the usage statistics query. This makes it possible for authenticated attackers with site administrator access on a multisite network who are not network administrators to export the API usage statistics of other sites on the network, provided API Monitoring is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-3743/
- https://plugins.svn.wordpress.org/zero-spam/tags/6.0.2/
- https://wordpress.org/plugins/zero-spam/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3743/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
