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.
Published: 2026-10-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS via chart labels
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the handling of the X-axis label column in SQL Chart Builder, where user-supplied data is placed into the chart configuration without proper sanitization. An attacker with subscriber-level access can modify their profile display name, a field that the plugin later includes in charts. When a chart containing this label is rendered, the malicious script is executed in the browser of any user who views the chart page, leading to potential session hijacking, credential theft, or other web-based attacks. This is a classic example of stored cross‑site scripting (CWE‑79).

Affected Systems

WordPress sites that have installed SQL Chart Builder versions 3.0.6 or earlier, including all releases up to and including 3.0.6. The plugin, as identified by the vendor/product name "elvinhaci:SQL Chart Builder", is the only affected component. No additional product or version details are supplied beyond the maximum impacted version of 3.0.6.

Risk and Exploitability

The CVSS score of 6.4 classifies the issue as moderate severity; no EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers need only authenticate with subscriber or higher privileges to inject a payload, and the flaw requires that an administrator publish a chart whose SQL query returns the attacker‑controlled column (e.g., wp_users.display_name). Once the chart is published, the malicious script runs for every viewer of that chart, giving the attacker widespread impact across all site users. Because the vector relies on authenticated access that is commonly available on public WordPress installations, the likelihood of exploitation is non‑negligible in environments with permissive membership levels.

Generated by OpenCVE AI on October 16, 2026 at 13:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update SQL Chart Builder to the latest patch version that escapes or sanitizes the X‑axis label field (at the time of this assessment, any release greater than 3.0.6 has fixed the issue).
  • Limit chart creation and editing privileges to administrators only, or modify the plugin’s query logic so that user‑controllable columns such as wp_users.display_name can no longer be used as label values.
  • Deploy a web application firewall or use a security plugin to filter out or escape script tags in chart configuration submissions.

Generated by OpenCVE AI on October 16, 2026 at 13:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
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.
Title SQL Chart Builder <= 3.0.6 - Authenticated (Subscriber+) Stored Cross-Site Scripting via SQL Chart Label (X-axis) via Stored User Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:05.141Z

Reserved: 2026-09-25T12:19:13.797Z

Link: CVE-2026-100158

cve-icon Vulnrichment

Updated: 2026-10-16T14:34:42.544Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T06:17:01.323

Modified: 2026-10-16T15:16:57.950

Link: CVE-2026-100158

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T13:52:28Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')