CVE-2026-125039
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.
References
- 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#L396
- https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L977
- https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.45/index.php#L989
- https://plugins.trac.wordpress.org/browser/elisqlreports/tags/5.26.46