Schema & Structured Data for WP & AMP <= 1.67 - Unauthenticated Stored Cross-Site Scripting via Review Form
- ID
- WPSEC-2026-0887
- Plugin
- Schema & Structured Data for WP & AMP (schema-and-structured-data-for-wp)
- Affected
- all versions before 1.68
- Remediation
- Update to 1.68 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-10-14
- Attack surface
- Schema & Structured Data for WP & AMP on WPSec AttackSurface
- Fix released
- Published
Description
The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the review text submitted through the front-end review form ([saswp-reviews-form]) in all versions up to, and including, 1.67. This is due to insufficient input sanitization and output escaping. The review text sanitizer can be bypassed with tags that have whitespace after the '<'. The stored value is printed unescaped inside a textarea in the admin review editor. That editor output is filtered with an allowed-HTML list that permits script tags, and the filter turns the obfuscated tags back into working tags. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator opens the submitted review in the admin area.
References
- https://wpsec.com/vuln/WPSEC-2026-0887/
- https://plugins.svn.wordpress.org/schema-and-structured-data-for-wp/tags/1.68/
- https://wordpress.org/plugins/schema-and-structured-data-for-wp/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS