Description
The Keep Backup Daily plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the backup title alias (`val` parameter) in the `update_kbd_bkup_alias` AJAX action in all versions up to, and including, 2.1.2. This is due to insufficient input sanitization and output escaping. While `sanitize_text_field()` strips HTML tags on save, it does not encode double quotes. The backup titles are output in HTML attribute contexts without `esc_attr()`. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts via attribute injection that will execute whenever another administrator views the backup list page.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-03-20: | Disclosed |
Credits
san6051
References
www.wordfence.com/...-5c99-4347-8b34-e49f7e0972be?source=cve
plugins.trac.wordpress.org/...y/tags/2.1.1/inc/functions.php
plugins.trac.wordpress.org/...-daily/trunk/inc/functions.php
plugins.trac.wordpress.org/...ly/tags/2.1.1/inc/kbd_cron.php
plugins.trac.wordpress.org/...p-daily/trunk/inc/kbd_cron.php
plugins.trac.wordpress.org/...up-daily&sfp_email=&sfph_mail=