# Pay For Post with WooCommerce <= 3.2.35 - Unauthenticated Sensitive Information Exposure via REST API and AJAX Requests

- **ID:** WPSEC-2026-1569
- **Plugin:** Pay For Post with WooCommerce (`woocommerce-pay-per-post`), https://wordpress.org/plugins/woocommerce-pay-per-post/
- **Affected versions:** all versions before 3.3.0
- **Fixed in:** 3.3.0 (Update to 3.3.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-863
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woocommerce-pay-per-post
- **Fix released:** 2026-10-23
- **Published:** 2026-10-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1569/

## Description

The Pay For Post with WooCommerce plugin for WordPress is vulnerable to Sensitive Information Exposure via the REST API and admin-ajax.php requests in all versions up to, and including, 3.2.35, due to flawed admin-request detection in the content restriction logic. Every REST API request, and every admin-ajax.php request, was treated as coming from the admin area, so the paywall filter on the_content returned the original post content without checking access. This makes it possible for unauthenticated attackers to read the full content of paywalled posts without purchasing access, for example through the /wp-json/wp/v2/posts/<id> endpoint or through AJAX endpoints that render post content.

## References

- https://wpsec.com/vuln/WPSEC-2026-1569/
- https://plugins.svn.wordpress.org/woocommerce-pay-per-post/tags/3.3.0/
- https://wordpress.org/plugins/woocommerce-pay-per-post/

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

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.
