Vulnerability in Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO — CVE-2026-111371
What to do now
Update Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO to 3.1.4 or later.
Affected versions
- Everything up to and including 3.1.3
Affected: Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO (plugin, review-schema)
What the vulnerability is
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.
Sources
- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/34aebb80-9e9a-43f6-982c-55b77f4f211e?source=cve