# Graphina <= 3.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via Data Table Lite Widget Header Alignment Setting

- **ID:** WPSEC-2026-4575
- **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.2 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-4575/

## Description

The Graphina – Charts and Graphs For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Data Table Lite widget's table header alignment setting in all versions up to, and including, 3.1.14. This is due to insufficient input sanitization and output escaping: the alignment value is not checked against the allowed values and is placed into a header class name, which the front-end script puts inside a quoted class attribute of the table footer cells. The script's tag-stripping filter does not remove quotes. 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-4575/
- 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-4575/

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.
