{"id":"CVE-2026-100158","revision":"37c52cb412ae40b8b26b6fe1cf1275a4","records":[{"revision":"37c52cb412ae40b8b26b6fe1cf1275a4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-100158","aliases":[],"title":"SQL Chart Builder <= 3.0.6 - Authenticated (Subscriber+) Stored Cross-Site Scripting via SQL Chart Label (X-axis) via Stored User Field","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.","state":0,"publishedAt":"2026-10-16T05:30:19.302+00:00","modifiedAt":"2026-10-16T14:39:05.141+00:00","affected":[{"ecosystem":"Vendor product","name":"SQL Chart Builder","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"elvinhaci\",\n                    \"product\": \"SQL Chart Builder\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"3.0.6\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"severity":"MEDIUM"}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/16375398-c5c9-465f-9a2f-4c08f76b090b?source=cve","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#L1093","https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L1019","https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L1101","https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L820","https://plugins.trac.wordpress.org/changeset?reponame=&old=3725657%40sql-chart-builder&new=3725657%40sql-chart-builder"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-100158","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-100158","identifiers":["CVE-2026-100158"]},"retained":false,"historicalAffected":[]}],"coverage":[]}