# Schema & Structured Data for WP & AMP <= 1.68 - Unauthenticated PHP Object Injection via Review Submission

- **ID:** WPSEC-2026-2003
- **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:** all versions before 1.69
- **Fixed in:** 1.69 (Update to 1.69 or later.)
- **Severity:** High 7.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-502
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-10-30)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/schema-and-structured-data-for-wp
- **Fix released:** 2026-10-29
- **Published:** 2026-10-30
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2003/

## Description

The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.68 via deserialization of untrusted post meta during the plugin's data export. Post meta values, including those of reviews created through front-end review submissions with any post status, were passed to unserialize() without restricting allowed classes. This makes it possible for unauthenticated attackers to inject a PHP object that is deserialized when an administrator performs an export. No known POP chain is present in the plugin itself; if a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

## References

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

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

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.
