# GEO Plugin by Squirrly SEO <= 14.2.12 - Unauthenticated Stored Cross-Site Scripting via Comment Content

- **ID:** WPSEC-2026-4028
- **Plugin:** GEO Plugin by Squirrly SEO (`squirrly-seo`), https://wordpress.org/plugins/squirrly-seo/
- **Affected versions:** all versions before 14.2.13
- **Fixed in:** 14.2.13 (Update to 14.2.13 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/squirrly-seo
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4028/

## Description

The GEO Plugin by Squirrly SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted HTML in comments in all versions up to, and including, 14.2.12. The cause is the SEO Links feature, which rewrites external link tags in the page output with plain text searches and replacements. Its loose pattern also matches non-link tags such as <abbr> that contain 'href=' text in an attribute. It then inserts rel="nofollow" and target="_blank" by replacing every '<a' string in the matched tag, including occurrences inside attribute values, so the inserted quotes break out of the attribute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the SEO Links feature with nofollow or target blank for external links to be enabled and comments to be allowed.

## References

- https://wpsec.com/vuln/WPSEC-2026-4028/
- https://plugins.svn.wordpress.org/squirrly-seo/tags/14.2.13/
- https://wordpress.org/plugins/squirrly-seo/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4028/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
