Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/function
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/function
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/function
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/function
- https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/function
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3725657%40sql-chart-b
- https://www.wordfence.com/threat-intel/vulnerabilities/id/16375398-c5c9-465f-9a2
FAQ
What is CVE-2026-100158?
CVE-2026-100158 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 i...
How severe is CVE-2026-100158?
CVE-2026-100158 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-100158?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.