SEOPress <= 10.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' Parameters
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 7, 2026
- Updated
- Nov 7, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| SEOPress – AI SEO Plugin & On-site SEO rainbowgeek | 10.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/10a13871-c98e-4785-ab41-18e548e07c05?source=cve
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-google-analytics.php#L800
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-google-analytics.php#L822
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/src/Actions/Api/Options/AnalyticsSettings.php#L104
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/admin/sanitize/Sanitize.php#L63
- https://plugins.svn.wordpress.org/wp-seopress/trunk/
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.4/inc/functions/options-google-analytics.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.