# Schema & Structured Data for WP & AMP <= 1.69 - Unauthenticated Insecure Direct Object Reference to Private Post Review Disclosure

- **ID:** WPSEC-2026-2301
- **Plugin:** Schema & Structured Data for WP & AMP (`schema-and-structured-data-for-wp`), https://wordpress.org/plugins/schema-and-structured-data-for-wp/
- **Affected versions:** from 1.46 before 1.70
- **Fixed in:** 1.70 (Update to 1.70 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-639
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/schema-and-structured-data-for-wp
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2301/

## Description

The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'post_id' parameter of the front-end review filter and pagination AJAX actions (saswp_rf_template_review_filter, saswp_rf_template_pagination) in all versions up to, and including, 1.69, due to missing validation that the requested post is publicly viewable by the current visitor. The only check is a nonce that is printed on public pages showing the review form, and an empty post_id queries comments across all posts. This makes it possible for unauthenticated attackers to retrieve the approved reviews and comments, and the review counts, of private, draft, pending or password-protected posts.

## References

- https://wpsec.com/vuln/WPSEC-2026-2301/
- https://plugins.svn.wordpress.org/schema-and-structured-data-for-wp/tags/1.70/
- https://wordpress.org/plugins/schema-and-structured-data-for-wp/

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

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.
