{"id":"CVE-2026-120515","kind":"vulnerability","aliases":["CVE-2026-120515"],"related":[],"title":"SEOPress WordPress plugin: stored XSS via Google Analytics tracking settings","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.","summary":"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.","severity":"medium","cvss":6.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","self-hosted","seopress","wordpress"],"not_affected_if":["admin-only-analytics-capability","default-config","seopress-above-10.3"],"how_to_check":"- Check the installed SEOPress version in the WordPress plugins screen or `wp plugin get wp-seopress --field=version`\n- Look under Settings > Advanced > Security to see whether the 'analytics' capability is delegated to Subscriber or other low-privilege roles","fix":null,"status":"open","published_at":"2026-11-07T07:17:03+00:00","first_seen_at":"2026-11-07T07:46:07+00:00","triaged_at":"2026-11-07T07:47:05+00:00","updated_at":"2026-11-07T07:47:05+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-07T07:47:05Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"SEOPress WordPress plugin: stored XSS via Google Analytics tracking settings","impact":"medium","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["wordpress","seopress","self-hosted"],"confidence":0.7,"fix_status":"unknown","needs_auth":"yes","worst_case":"Scripts run in visitors' browsers and can steal sessions or act as them","analyst_note":"Confirm the first fixed version of SEOPress from the NVD or Wordfence entry for CVE-2026-120515; the sources give only 'up to and including 10.3'.","how_to_check":"- Check the installed SEOPress version in the WordPress plugins screen or `wp plugin get wp-seopress --field=version`\n- Look under Settings > Advanced > Security to see whether the 'analytics' capability is delegated to Subscriber or other low-privilege roles","plain_action":"","needs_analyst":true,"not_affected_if":["default-config","admin-only-analytics-capability","seopress-above-10.3"],"who_is_affected":"Sites running SEOPress 10.3 or earlier where the Google Analytics tracking features are in use. Exposure requires that an administrator has delegated the SEOPress 'analytics' capability to lower-privilege accounts; sites that only let administrators edit these settings are not exposed by this flaw.","user_interaction":"yes","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000765,"input_tokens":4534,"output_tokens":624,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-120515':13A,16A '-2026':12A,15A '10.3':112C 'access':54B 'affect':70B 'affili':32B,97C,143C 'ai':74C 'analyt':8A,43B,96C,102C,134C,140C 'anyon':66B 'authent':48B 'browser':64B 'cross':89C 'cross-sit':88C 'cve':11A,14A 'download':34B,103C 'due':115C 'escap':122C 'googl':7A,42B,95C,101C,133C,139C 'higher':56B 'host':20B 'inc/admin/sanitize/sanitize.php':154C 'includ':111C 'inject':58B 'inlin':132C 'input':118C 'insid':157C 'insuffici':117C 'interpol':129C 'js':141C 'land':156C 'level':53B 'load':68B 'omit':152C 'on-sit':77C 'output':121C 'packag':17B 'page':46B,71B 'plugin':3A,27B,76C,81C 'receiv':145C 'run':61B 'sanit':30B,119C,147C 'script':59B,91C 'self':19B 'self-host':18B 'seo':26B,75C,80C 'seopress':1A,21B,23B,73C,94C,100C,138C 'set':10A,36B,105C,125C 'site':79C,90C 'snippet':44B,136C 'store':4A,87C 'subscrib':52B 'subscriber-level':51B 'track':9A,35B,98C,104C,135C 'user':49B 'valu':144C 'version':107C 'via':6A,92C 'vulner':85C 'wordpress':2A,22B,25B,83C 'write':38B 'xss':5A","nicknames":[],"mitigations":[],"who_affected":"Sites running SEOPress 10.3 or earlier where the Google Analytics tracking features are in use. Exposure requires that an administrator has delegated the SEOPress 'analytics' capability to lower-privilege accounts; sites that only let administrators edit these settings are not exposed by this flaw.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","package","selfhosted","seopress","wordpress"],"campaign_type":null,"search_a":"'-120515':13A,16A '-2026':12A,15A 'analyt':8A 'cve':11A,14A 'googl':7A 'plugin':3A 'seopress':1A 'set':10A 'store':4A 'track':9A 'via':6A 'wordpress':2A 'xss':5A","search_b":"'access':54B 'affect':70B 'affili':32B 'analyt':43B 'anyon':66B 'authent':48B 'browser':64B 'download':34B 'googl':42B 'higher':56B 'host':20B 'inject':58B 'level':53B 'load':68B 'packag':17B 'page':46B,71B 'plugin':27B 'run':61B 'sanit':30B 'script':59B 'self':19B 'self-host':18B 'seo':26B 'seopress':21B,23B 'set':36B 'snippet':44B 'subscrib':52B 'subscriber-level':51B 'track':35B 'user':49B 'wordpress':22B,25B 'write':38B","search_c":"'10.3':112C 'affili':97C,143C 'ai':74C 'analyt':96C,102C,134C,140C 'cross':89C 'cross-sit':88C 'download':103C 'due':115C 'escap':122C 'googl':95C,101C,133C,139C 'inc/admin/sanitize/sanitize.php':154C 'includ':111C 'inlin':132C 'input':118C 'insid':157C 'insuffici':117C 'interpol':129C 'js':141C 'land':156C 'omit':152C 'on-sit':77C 'output':121C 'plugin':76C,81C 'receiv':145C 'sanit':119C,147C 'script':91C 'seo':75C,80C 'seopress':73C,94C,100C,138C 'set':105C,125C 'site':79C,90C 'snippet':136C 'store':87C 'track':98C,104C,135C 'valu':144C 'version':107C 'via':92C 'vulner':85C 'wordpress':83C","first_public_at":"2026-11-07T07:17:03+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","cvss_by":"security@wordfence.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120515","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120515","severity":null,"published_at":"2026-11-07T07:17:03+00:00","modified_at":"2026-11-07T07:17:03+00:00","first_seen_at":"2026-11-07T07:46:07+00:00","fetched_at":"2026-11-07T07:46:07+00:00","note":null}],"documents":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}