# CVE-2026-125039: EZ SQL Reports Shortcode Widget and DB Backup <= 5.26.45 - Unauthenticated Stored Cross-Site Scripting via Comment User-Agent via sqlgetvar Shortcode

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-11-21T07:45:17.985Z
- Modified: 2026-11-23T19:17:31.430Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- scheeeli EZ SQL Reports Shortcode Widget and DB Backup: up to 5.26.45

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2217408d-679e-45f6-9bee-249e8c498e2c?source=cve>
- <https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L989>
- <https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L396>
- <https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L385>
- <https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L977>
- <https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.46>

## Sources

- CVE List: [CVE-2026-125039](https://www.cve.org/CVERecord?id=CVE-2026-125039), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-125039](https://nvd.nist.gov/vuln/detail/CVE-2026-125039), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-125039 · Whole record: https://cve.day/CVE-2026-125039.json · Rebuilt by cve.day 2026-11-25T22:59:52.502Z
