---
id: "CVE-2026-120515"
page: "https://infrastack.ai/live/CVE-2026-120515"
kind: "vulnerability"
aliases: ["CVE-2026-120515"]
title: "SEOPress WordPress plugin: stored XSS via Google Analytics tracking settings"
severity: "medium"
cvss: 6.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "self-hosted", "seopress", "wordpress"]
not_affected_if: ["admin-only-analytics-capability", "default-config", "seopress-above-10.3"]
published_at: "2026-11-07T07:17:03+00:00"
first_seen_at: "2026-11-07T07:46:07+00:00"
updated_at: "2026-11-07T07:47:05+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120515", "first_seen_at": "2026-11-07T07:46:07+00:00"}]
exploit_sources: []
---

# SEOPress WordPress plugin: stored XSS via Google Analytics tracking settings

Link for people: https://infrastack.ai/live/CVE-2026-120515 (this .md is for agents)

SEOPress, a WordPress SEO plugin, does not sanitize its affiliate and download tracking settings before writing them into the Google Analytics snippet on pages. An authenticated user with Subscriber-level access or higher can inject scripts that run in the browser of anyone who loads an affected page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed SEOPress version in the WordPress plugins screen or `wp plugin get wp-seopress --field=version`
- Look under Settings > Advanced > Security to see whether the 'analytics' capability is delegated to Subscriber or other low-privilege roles

## Timeline

- 2026-11-07T07:46:07+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120515

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
