Technical impact
The Password Protected WordPress plugin accepts the 'purchased_plan' request parameter from the Freemius purchase‑completion handler and stores it unfiltered in a persistent administrative notice. The lack of input validation or output escaping (CWE‑79) lets any authenticated user with subscriber-level or higher privileges inject arbitrary JavaScript. When an administrator later opens a normal admin page, such as the Profile page, the malicious script runs in their browser, potentially allowing credential theft or session hijacking.
Affected Systems
The vulnerability exists in all releases of the Password Protected plugin through version 2.8.4. Any site running the plugin with a Freemius opt‑in configured is at risk, regardless of other security settings.
Risk and Exploitability
With a CVSS score of 6.4 the flaw is medium‑severity. The EPSS score is not available, and the issue is not yet listed in the CISA KEV catalog, which lowers the immediate threat level. The flaw requires an attacker to log in as a user with subscriber or higher capability; the purchase‑completed handler performs no capability, nonce, or purchase validation before accepting the input, making exploitation straightforward once the Freemius flow has been completed.