CVE-2026-111371
Description
The SchemaEngine AI – AI Schema Markup, Reviews & Rich Snippets for SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content/excerpt (REST wp/v2/posts) → stored in post_content/post_excerpt' parameter in all versions up to, and including, 3.1.3 due to insufficient input sanitization and output escaping. 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. A Contributor's entity-encoded payload survives save-time wp_kses filtering verbatim and is only decoded into raw script tags at render time via html_entity_decode(), meaning the injected script executes for every visitor — including authenticated Administrators — once an Editor publishes the post through the standard Contributor workflow.
References
- https://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/AI/SchemaRenderer.php#L89
- https://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Hooks/SchemaFrontend.php#L51
- https://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Models/Schema.php#L1537
- https://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Models/Schema.php#L169
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3779685%40review-schema&new=3779685%40review-schema