MEDIUM 6.4 NVD
CVE-2026-100158
The SQL Chart Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'X-axis column value ($value->$xarg_s from $wpdb->get_results())
The SQL Chart Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'X-axis column value ($value->$xarg_s from $wpdb->get_results())' parameter in all versions up to, and including, 3.0.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires an administrator to have published a chart whose SQL query returns a column controllable by a lower-privileged user, such as wp_users.display_name, which a Subscriber can populate with a payload via the standard WordPress profile page at /wp-admin/profile.php.
References
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L101
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L109
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L110
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L579
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L820
This medium severity vulnerability with a CVSS score of 6.4 was published on 2026-10-16 via NVD.
vulnfeed aggregates 14996 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.