Vulnerability in SEOPress – AI SEO Plugin & On-site SEO — CVE-2026-116535
What to do now
Update SEOPress – AI SEO Plugin & On-site SEO to 10.4 or later.
Affected versions
- Everything up to and including 10.3
Affected: SEOPress – AI SEO Plugin & On-site SEO (plugin, wp-seopress)
What the vulnerability is
The SEOPress – AI SEO Plugin & On-site SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameter in all versions up to, and including, 10.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by any Subscriber who sets their display_name to a string containing the literal %%archive_title%% token alongside HTML event-handler payloads, as WordPress stores display names without HTML filtering and the plugin substitutes the token after escaping has already occurred.
Sources
- https://plugins.svn.wordpress.org/wp-seopress/trunk/
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-social.php#L1104
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-social.php#L1112
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-social.php#L533
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-social.php#L542
- https://plugins.trac.wordpress.org/browser/wp-seopress/tags/10.3/inc/functions/options-titles-metas.php#L403