CVE-2026-100158 Cross-site scripting in SQL Chart Builder

Medium 6.4 Published Updated

Authenticated subscribers can inject scripts via user fields if an admin publishes a chart using that data, leading to stored XSS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-100158?

CVE-2026-100158 is a medium-severity cross-site scripting vulnerability in elvinhaci SQL Chart Builder, published on 16 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-100158?

How do I fix CVE-2026-100158?

No fix has been published for CVE-2026-100158 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-100158 being exploited?

There is no known exploitation of CVE-2026-100158 in the wild and no public exploit code.

Sources

Also known as GHSA-9rx6-fffx-55r5.

Is CVE-2026-100158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free