{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100158","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","state":"PUBLISHED","assignerShortName":"Wordfence","dateReserved":"2026-09-25T12:19:13.797Z","datePublished":"2026-10-16T05:30:19.302Z","dateUpdated":"2026-10-16T14:39:05.141Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence","dateUpdated":"2026-10-16T05:30:19.302Z"},"affected":[{"vendor":"elvinhaci","product":"SQL Chart Builder","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.0.6","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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."}],"title":"SQL Chart Builder <= 3.0.6 - Authenticated (Subscriber+) Stored Cross-Site Scripting via SQL Chart Label (X-axis) via Stored User Field","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/16375398-c5c9-465f-9a2f-4c08f76b090b?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L579"},{"url":"https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L1093"},{"url":"https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L1019"},{"url":"https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L1101"},{"url":"https://plugins.trac.wordpress.org/browser/sql-chart-builder/tags/3.0.6/functions.php#L820"},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3725657%40sql-chart-builder&new=3725657%40sql-chart-builder"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","baseScore":6.4,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"rwcpower100"}],"timeline":[{"time":"2026-10-15T17:01:02.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-100158","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T14:34:41.886031Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-10-16T14:39:05.141Z"}}]}}