# Graphina <= 3.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via Chart Legend Series Names

- **ID:** WPSEC-2026-4576
- **Plugin:** Graphina – Charts and Graphs For Elementor (`graphina-elementor-charts-and-graphs`), https://wordpress.org/plugins/graphina-elementor-charts-and-graphs/
- **Affected versions:** from 3.0.4 before 3.1.15
- **Fixed in:** 3.1.15 (Update to 3.1.15 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/graphina-elementor-charts-and-graphs
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4576/

## Description

The Graphina – Charts and Graphs For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via chart series names and the legend prefix/postfix settings in all versions up to, and including, 3.1.14. This is due to insufficient output escaping: when the legend shows series values, the legend formatters URI-decode the series name after the server-side and client-side sanitization has already run. They then place it, along with the prefix and postfix, into HTML that ApexCharts writes with innerHTML. 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

- https://wpsec.com/vuln/WPSEC-2026-4576/
- https://plugins.svn.wordpress.org/graphina-elementor-charts-and-graphs/tags/3.1.15/
- https://wordpress.org/plugins/graphina-elementor-charts-and-graphs/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4576/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
