# Xagio SEO & AEO <= 7.1.0.54 - Unauthenticated Stored Cross-Site Scripting via 404 Log Request Path

- **ID:** WPSEC-2026-3932
- **Plugin:** Xagio SEO & AEO – AI SEO for Google Rankings & AI Visibility (`xagio-seo`), https://wordpress.org/plugins/xagio-seo/
- **Affected versions:** all versions before 7.1.0.55
- **Fixed in:** 7.1.0.55 (Update to 7.1.0.55 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/xagio-seo
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3932/

## Description

The Xagio SEO & AEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the request path recorded in the 404 log in all versions up to, and including, 7.1.0.54. This is due to insufficient input sanitization: HTML-encoded quotes such as &quot; in the requested URL survive sanitize_url() and become real quotes once the browser decodes them. It is also due to missing output escaping when logged 404 paths and redirect values are put into markup and attributes on the plugin's 301 & 404 admin screens. This makes it possible for unauthenticated attackers to request a crafted 404 URL that injects arbitrary web scripts, which execute in an administrator's browser after the administrator uses the 'Add 301 Redirect' action on the logged entry and the redirect list is displayed.

## References

- https://wpsec.com/vuln/WPSEC-2026-3932/
- https://plugins.svn.wordpress.org/xagio-seo/tags/7.1.0.55/
- https://wordpress.org/plugins/xagio-seo/

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

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.
