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

Medium 5.4 CWE-79Fixed in 14.2.13
ID
WPSEC-2026-4028
Plugin
GEO Plugin by Squirrly SEO (squirrly-seo)
Affected
all versions before 14.2.13
Remediation
Update to 14.2.13 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-26
Attack surface
GEO Plugin by Squirrly SEO on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0