CVE-2026-120688: EZ SQL Reports Shortcode Widget and DB Backup <= 5.25.25 - Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header

Published Nov 13, 2026
·
Updated

The EZ SQL Reports Shortcode Widget and DB Backup plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTPUSERAGENT (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 wpcomments.commentagent, which WordPress stores verbatim from unauthenticated visitors even when comments are pending moderation.

Affected Software

1 affected component
EZ SQL Reports Shortcode Widget and DB Backup<=5.25.25

Event History

Nov 13, 2026
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Sites are exposed only if an administrator has saved a SQL report that selects an attacker-controllable database column. The demonstrated case is wp_comments.comment_agent, which can contain a visitor-controlled User-Agent value even when the associated comment is pending moderation.

2

What does an attacker need to exploit this issue?

An attacker does not need authentication or user interaction to store the payload. They need a saved report that selects a database field they can influence, and the payload executes when a user accesses the page containing the injected report output.

3

Are default plugin installations necessarily affected?

No. Exploitation depends on administrator-created saved SQL reports selecting attacker-controllable columns; the provided information does not establish that such a report exists by default.

4

How can I determine whether my site is at risk?

Review saved SQL reports for queries that select values supplied by unauthenticated visitors or other untrusted users. In particular, check for reports selecting wp_comments.comment_agent or other attacker-controllable database columns.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203