CVE-2026-120515

SEOPress <= 10.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' Parameters

Published Nov 7, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The SEOPress – AI SEO Plugin & On-site SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' settings in versions up to, and including, 10.3. This is due to insufficient input sanitization and output escaping on these settings as they are interpolated into the inline Google Analytics tracking snippet by seopress_google_analytics_js(): the affiliate value receives no sanitization at all (it is omitted from inc/admin/sanitize/Sanitize.php) and lands inside a <script> block, while the download value is only passed through sanitize_text_field() and lands inside a JavaScript regular-expression literal that preserves parentheses, semicolons and slashes. This makes it possible for authenticated attackers, with Subscriber-level access and above (where an administrator has delegated the SEOPress 'analytics' capability under Settings > Advanced > Security — the precondition Wordfence accepted for CVE-2026-101357), to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update SEOPress to version 10.4 or later to apply the vendor‑provided fix.
  • If an immediate update is not possible, disable the "affiliate_tracking" and "download_tracking" options or set them to empty values to remove the injection vector.
  • As a temporary workaround, ensure only trusted users have the SEOPress analytics capability and monitor for abnormal script activity in the site's analytics.js output.

Generated by OpenCVE AI on November 7, 2026 at 08:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rainbowgeek
Rainbowgeek seopress
Wordpress-extensions
Wordpress-extensions seopress
Vendors & Products Rainbowgeek
Rainbowgeek seopress
Wordpress-extensions
Wordpress-extensions seopress
Type Values Removed Values Added
Description The SEOPress – AI SEO Plugin & On-site SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' settings in versions up to, and including, 10.3. This is due to insufficient input sanitization and output escaping on these settings as they are interpolated into the inline Google Analytics tracking snippet by seopress_google_analytics_js(): the affiliate value receives no sanitization at all (it is omitted from inc/admin/sanitize/Sanitize.php) and lands inside a <script> block, while the download value is only passed through sanitize_text_field() and lands inside a JavaScript regular-expression literal that preserves parentheses, semicolons and slashes. This makes it possible for authenticated attackers, with Subscriber-level access and above (where an administrator has delegated the SEOPress 'analytics' capability under Settings > Advanced > Security — the precondition Wordfence accepted for CVE-2026-101357), to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title SEOPress <= 10.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' Parameters
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 7, 2026, 6:06 PM
Reserved
Nov 2, 2026, 4:14 PM
Status
Deferred
Published
Nov 7, 2026, 7:17 AM
Modified
Nov 7, 2026, 6:17 PM