
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4305 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Royal WordPress Backup & Restore Plugin for WordPress. It affects all versions up to and including 1.0.16, stemming from insufficient input validation on the wpr_pending_template parameter. The vulnerability was published on April 10, 2026, and a patch was made available in version 1.0.17. It carries a CVSS v3.1 base score of 6.1 (Medium severity) (GitHub Advisory, Wordfence).
The root cause is improper neutralization of user-controllable input before it is rendered in a web page (CWE-79). The vulnerable wpr_pending_template parameter is not properly sanitized or escaped, allowing an attacker to craft a malicious URL containing arbitrary JavaScript. The attack is network-based and requires no authentication or privileges; however, it does require social engineering — specifically, tricking a logged-in WordPress administrator into clicking a crafted link, at which point the injected script executes in the administrator's browser context. Relevant source code references are available in the plugin's Trac repository at royal-backup-reset.php#L803 and backup-reminder.js#L751 (GitHub Advisory, Wordfence).
Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of an administrator's browser session. This can result in unauthorized administrative actions (e.g., creating rogue admin accounts, installing malicious plugins), theft of session cookies or credentials, and further compromise of the WordPress installation. Confidentiality and integrity are both assessed as low impact per CVSS, with no direct availability impact, but the changed scope means the attack can affect resources beyond the vulnerable component itself (GitHub Advisory, Wordfence).
There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.033% (6th percentile), indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (GitHub Advisory, Wordfence).
wpr_pending_template parameter, e.g., https://target.com/wp-admin/admin.php?page=royal-backup&wpr_pending_template=<script>malicious_code_here</script>./wp-admin/admin.php) containing script tags, encoded JavaScript, or suspicious values in the wpr_pending_template parameter.%3Cscript%3E, javascript:) in the wpr_pending_template query parameter.The vulnerability has been patched in version 1.0.17 of the Royal WordPress Backup & Restore Plugin; administrators should update immediately via the WordPress plugin dashboard or by downloading the latest version from the WordPress plugin repository. As a compensating control, implement a Content Security Policy (CSP) header to restrict script execution sources and reduce XSS impact. Administrators should also be educated about phishing and social engineering risks, particularly regarding clicking on unsolicited or unexpected links. Monitor WordPress admin access logs for anomalous requests containing script-like content in URL parameters (GitHub Advisory, Wordfence).
The vulnerability was discovered and reported by Wordfence, which published the initial advisory. Coverage has been limited to automated vulnerability tracking platforms and aggregators such as VulDB, CVEFeed, and ENISA's EUVD. No notable independent researcher commentary or significant social media discussion has been identified beyond standard CVE broadcast posts.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."