Technical impact
An update to the WP PageNavi Style plugin through version 1.4 fails to sanitise or escape some configuration options and lacks a CSRF check when these options are saved. This allows an attacker to induce a logged‑in administrator to store arbitrary JavaScript code in the plugin settings using a CSRF exploit. When visitors load the front end of the site, the stored script is executed in their browsers, enabling client‑side code execution with the privileges of the user’s browser.
Affected Systems
The WP PageNavi Style WordPress plugin, versions 1.4 and earlier, is affected. Users of these plugin releases on any WordPress installation are at risk.
Risk and Exploitability
The CVSS score is 7.1, the EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. The attack requires an administrator account because the vulnerability is triggered when the admin saves plugin settings. Once an attacker compromises or tricks an admin into performing a CSRF request, stored JavaScript will be executed universally for all visitors. The exploit is straightforward for an attacker who can target an active admin, making the risk high for sites that still run the vulnerable plugin.