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

Medium 6.4 CWE-79Fixed in 3.1.4
ID
WPSEC-2026-2285
Plugin
Review Schema – Review & Structure Data Schema Plugin (review-schema)
Affected
all versions before 3.1.4
Remediation
Update to 3.1.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-03
Attack surface
SchemaEngine AI – AI Schema Markup, Reviews & Rich Snippets for SEO on WPSec AttackSurface
Fix released
Published

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

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