Skip to main content

EZ SQL Reports CVE-2026-125039

| EUVDEUVD-2026-132024 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-21 Wordfence GHSA-9228-62vg-2553
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted User-Agent header with script
  2. Delivery
    Value stored to comment_agent field
  3. Exploit
    Admin's [SQLREPORT] report selects comment_agent
  4. Execution
    Payload rendered unescaped on report page
  5. Impact
    Script executes in visitor/admin browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Injection of the payload is unauthenticated and trivial (arbitrary attacker-controlled User-Agent header stored to comment_agent). However, actual script execution requires two specific preconditions stated in the description: (1) an administrator must have created and saved an EZ SQL Reports report whose SQL query selects attacker-controlled data such as comment_agent, and (2) the attacker must identify that saved report's slug - trivially met only if the administrator has published the report on a public page via the [SQLREPORT] shortcode. In default deployments with no such comment_agent-selecting report configured, the stored payload has no rendering path and the flaw is not exploitable; this operator-dependent, non-default configuration is the primary limiting factor on real-world risk.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2, source Wordfence) frames this as a network, low-complexity, unauthenticated stored XSS with a scope change - the classic high rating for unauthenticated stored XSS in a WordPress plugin. However, that AC:L understates the real preconditions the description spells out: exploitation only succeeds if an administrator has already saved an EZ SQL Reports report whose SQL query selects attacker-controlled data such as comment_agent, AND the attacker can discover that report's slug. These are non-default, operator-dependent conditions, so real-world risk is materially lower than the 7.2 implies; I independently assess AC:H to reflect them. No EPSS score was provided, the CVE is NOT on CISA KEV, and no confirmed exploit code is listed - the references are a Wordfence advisory and WordPress plugin source lines, not a working PoC. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patch-on-normal-cadence item rather than an active-exploitation emergency. Net: a legitimate but conditional unauthenticated stored XSS whose priority is tempered by niche product footprint, dependence on a specific admin report configuration, and absence of exploitation or EPSS signals.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request with a malicious script payload in the User-Agent header, which WordPress stores in the comment_agent field alongside a comment. If an administrator has published an EZ SQL Reports report (via the [SQLREPORT] shortcode) whose SQL query returns comment_agent, the stored payload is rendered without escaping and executes in the browser of anyone viewing that report page, including administrators. No public exploit code is identified at time of analysis, and success depends on the specific report configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Stored cross-site scripting in EZ SQL Reports Shortcode Widget and DB Backup through 5.26.45 allows unauthenticated attackers to persist script through the User-Agent header into WordPress's comment_agent field, but execution depends on an administrator having saved a report that selects attacker-controlled data such as comment_agent and on the attacker identifying that report's slug. The flaw is most exposed when the administrator publishes the report on a public page via the [SQLREPORT] shortcode; in a default deployment with no such report configured, the stored payload has no rendering path. The independent assessment applies AC:H for these operator-dependent prerequisites, while Wordfence's supplied vector is AC:L; the vuln.today decision label is this_week, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: 5.26.46; upgrade the EZ SQL Reports Shortcode Widget and DB Backup plugin from 5.26.45 or earlier to 5.26.46, using the vendor tag at https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.46 and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/2217408d-679e-45f6-9bee-249e8c498e2c?source=cve. If updating cannot be done immediately, reduce exposure by auditing saved reports and removing or rewriting any report whose SQL query selects comment_agent or other attacker-controlled columns, and by unpublishing reports from public pages or removing the [SQLREPORT] shortcode from public content; the trade-off is loss of reporting functionality and public report access. Restrict access to any page that renders saved reports to trusted users until the update is applied.

Affected VersionsENISA

EZ SQL Reports Shortcode Widget and DB Backup 0 ≤5.26.45

Affected Packages

euvd ez_sql_reports_shortcode_widget_and_db_backup no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CVE-2026-125039 is a CWE-79 stored cross-site scripting issue in the WordPress plugin EZ SQL Reports Shortcode Widget and DB Backup. The plugin lets administrators define SQL queries as saved reports and render them through the [SQLREPORT] shortcode. Insufficient input sanitization and output escaping allow an attacker-controlled User-Agent header to be stored in the WordPress comment_agent field; when a saved report selects that field and renders it, the value can be emitted without proper encoding. The CPE cpe:2.3:a:scheeeli:ez_sql_reports_shortcode_widget_and_db_backup:*:*:*:*:*:*:*:* is unconstrained, matching all versions, and the vendor references point to index.php lines 385, 396, 977 and 989 in tag 5.26.45 plus a 5.26.46 tag. The supplied CVSS vector is AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (7.2), but the independent assessment uses AC:H because exploitation requires a non-default administrator-created report whose slug the attacker must know; the scope change reflects script execution in the rendered page context.

Know when Ez Sql Reports Shortcode Widget And Db Backup gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Unauthenticated remote injection (PR:N/AV:N) but AC:H because execution depends on an administrator configuring a report that selects comment_agent; S:C with C:L/I:L for browser-context script impact, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The EZ SQL Reports Shortcode Widget and DB Backup plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'User-Agent header (stored to comment_agent)' parameter in all versions up to, and including, 5.26.45 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires that an administrator has saved a report whose SQL query selects attacker-controlled data such as comment_agent, and that the attacker can identify the saved report's slug - a condition trivially met when the administrator publishes the report on a public page via the [SQLREPORT] shortcode.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the EZ SQL Reports Shortcode Widget and DB Backup WordPress plugin (versions through 5.26.45) enables unauthenticated attackers to inject persistent scripts via the User-Agent header, but successful exploitation hinges on an administrator having previously created and publicly exposed a specific SQL report. This means organizations running the vulnerable plugin are at risk of stored cross-site scripting attacks that could compromise administrative sessions, data integrity, and site reputation, particularly if such reports are in use. Leadership should prioritize remediation given the potential for broader WordPress environment compromise and the absence of a vendor patch.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling the plugin, removing or restricting access to SQL reports that select attacker-controlled data, and deploying WAF rules to sanitize or block suspicious User-Agent headers.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche WordPress reporting/backup plugin, limited install base
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy