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

Medium 5.3 CWE-863Fixed in 3.3.0
ID
WPSEC-2026-1569
Plugin
Pay For Post with WooCommerce (woocommerce-pay-per-post)
Affected
all versions before 3.3.0
Remediation
Update to 3.3.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-23
Attack surface
Pay For Post with WooCommerce on WPSec AttackSurface
Fix released
Published

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

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