CVE-2026-125039
The EZ SQL Reports Shortcode Widget and DB Backup plugin for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L385
- plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L396
- plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L977
- plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L989
- plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.46
- www.wordfence.com/threat-intel/vulnerabilities/id/2217408d-679e-45f6-9bee-249e8c498e2c?sou
- nvd.nist.gov/vuln/detail/CVE-2026-125039
- cve.org/CVERecord?id=CVE-2026-125039
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.