EZ SQL Reports Shortcode Widget and DB Backup <= 5.26.45 - Unauthenticated Stored Cross-Site Scripting via Comment User-Agent via sqlgetvar Shortcode
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| EZ SQL Reports Shortcode Widget and DB Backup scheeeli | 5.26.45 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.2 High | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.