CVE-2026-120688 · Package
NO FIX YET · SEE WHAT TO DO
The EZ SQL Reports Shortcode Widget and DB Backup plugin for WordPress stores attacker-controllable database values, such as the HTTP user agent in comments, and outputs them without escaping. An unauthenticated visitor can inject scripts that run in the browser of anyone who opens an affected page, including administrators.
first public Nov 13, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Sites running the EZ SQL Reports Shortcode Widget and DB Backup plugin version 5.25.25 or earlier. Exposure requires an administrator to have saved a SQL report that selects a visitor-controlled column; sites without the plugin or without such reports are not affected.
Not affected if managed-hosting, no-saved-sql-reports, plugin-not-installed
Who cares php, self-hosted, wordpress
5.25.25 or lower in the WordPress plugins listwp_comments.comment_agent or other user-controlled data5.25.25 (the fixed version is not stated in the sources)The EZ SQL Reports Shortcode Widget and DB Backup plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_USER_AGENT (demonstrated); more generally, any attacker-controllable DB column the saved report selects' parameter in all versions up to, and including, 5.25.25 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. This requires an administrator to have saved a SQL report that selects an attacker-controllable database column, such as wp_comments.comment_agent, which WordPress stores verbatim from unauthenticated visitors even when comments are pending moderation.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.