Technical impact
The SEOPress – AI SEO Plugin & On‑site SEO plugin for WordPress allows an attacker who can log in with Subscriber or higher role to store malicious script code in the "seopress_google_analytics_affiliate_tracking" and "seopress_google_analytics_download_tracking" settings. The plugin fails to properly sanitize or escape the affiliate value and only applies a limited sanitization to the download value, allowing the injected code to be embedded inside a <script> block or a JavaScript regex literal. When a page containing the analytics snippet is served, the malicious JavaScript executes in the context of the visitor’s browser, potentially leading to session hijacking, defacement, credential theft, or other client‑side compromise. This falls under the input validation weakness identified by CWE-79.
Affected Systems
Affected systems are installations of the SEOPress plugin for WordPress with version 10.3 or earlier. The vulnerability applies to any WordPress site that has published the plugin and configured the affiliate or download tracking options. Users with Subscriber role or higher who have been granted the SEOPress 'analytics' capability can perform the injection; administrators can delegate this capability under Settings > Advanced > Security.
Risk and Exploitability
The CVSS base score of 6.4 indicates a moderate severity. The EPSS score is not available, and the issue has not been listed in CISA's KEV catalog. Exploitation requires authenticated access, so an attacker must first identify a user with at least Subscriber privileges and be able to alter the analytics settings. Once a malicious value is stored, every subsequent page load by any user will execute the injected script. The lack of a public exploit payload or zero‑day status reduces immediate risk, but the persistence of stored scripts and the prevalence of WordPress sites increase long‑term exposure.