Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.3% (percentile 26).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/AI/SchemaRenderer.php#L89
- Riferimentohttps://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Hooks/SchemaFrontend.php#L51
- Riferimentohttps://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Models/Schema.php#L1537
- Riferimentohttps://plugins.trac.wordpress.org/browser/review-schema/tags/3.1.2/app/Modules/Schema/Models/Schema.php#L169
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3779685%40review-schema&new=3779685%40review-schema
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/34aebb80-9e9a-43f6-982c-55b77f4f211e?source=cve