# SchemaEngine AI – AI Schema Markup, Reviews & Rich Snippets for SEO <= 3.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via JSON-LD Structured Data

- **ID:** WPSEC-2026-2285
- **Plugin:** Review Schema – Review & Structure Data Schema Plugin (`review-schema`), https://wordpress.org/plugins/review-schema/
- **Affected versions:** all versions before 3.1.4
- **Fixed in:** 3.1.4 (Update to 3.1.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/review-schema
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2285/

## Description

The review-schema plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the JSON-LD structured data output in all versions up to, and including, 3.1.3. This is due to the schema graph being printed inside a script element with wp_json_encode() using JSON_UNESCAPED_SLASHES and no escaping of HTML tags, while values such as the WebPage description are HTML-entity-decoded from the post excerpt or content, so an entity-encoded '</script>' sequence in post content ends the script element. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-2285/
- https://plugins.svn.wordpress.org/review-schema/tags/3.1.4/
- https://wordpress.org/plugins/review-schema/

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

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.
