Descrizione
The Graphina – Charts and Graphs For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'iq_tree_chart_node_font_family (and any text control serialized into chart_data['settings'])' parameter in all versions up to, and including, 3.1.13 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Elementor's Utils::kses_post_deep() does not strip the attack payload on save because the payload contains no disallowed HTML tags — only a single quote and an event-handler fragment — allowing the malicious value to survive persistence.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.2, EPSS 0.2% (percentile 16).
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/graphina-elementor-charts-and-graphs/tags/3.1.13/includes/Charts/Elementor/Elements/ApexTree/TreeChart.php#L143
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.13/includes/Charts/Elementor/GraphinaApexTreeBase.php#L122
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.13/includes/Charts/Elementor/GraphinaApexTreeBase.php#L153
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.13/templates/graphina-apex-tree/tree-chart.php#L16
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.13/templates/graphina-apex-tree/tree-chart.php#L17
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.13/templates/graphina-apex-tree/tree-chart.php#L18
- Riferimentohttps://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.14/templates/graphina-apex-tree/tree-chart.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/2d31adfe-9b4b-43df-8077-9420a2643313?source=cve