CVE-2026-4305 Royal WordPress Backup & Restore Plugin <= 1.0.16 - Reflected Cross-Site Scripting via 'wpr_pending_template' Parameter

Medium 6.1 Published Updated

Unauthenticated attackers can inject scripts via a parameter, potentially compromising administrator accounts if they click a malicious link.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-4305?

CVE-2026-4305 is a medium-severity cross-site scripting vulnerability in wproyal Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Royal WordPress Backup & Restore Plugin plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'wpr_pending_template' parameter in all versions up to, and including, 1.0.16 due to insufficient input validation. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick an administrator into performing an action such as clicking on a link.

Weakness: CWE-79

Which versions are affected by CVE-2026-4305?

How do I fix CVE-2026-4305?

No fix has been published for CVE-2026-4305 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-4305 being exploited?

There is no known exploitation of CVE-2026-4305 in the wild and no public exploit code.

Sources

Also known as GHSA-pfgm-6jj5-pxw5.

Is CVE-2026-4305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free