# Xagio SEO & AEO <= 7.1.0.55 - Unauthenticated Stored Cross-Site Scripting via User-Agent and Client-IP Headers

- **ID:** WPSEC-2026-4123
- **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.56
- **Fixed in:** 7.1.0.56 (Update to 7.1.0.56 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-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/xagio-seo
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4123/

## Description

The Xagio SEO & AEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent, Client-IP and X-Forwarded-For headers recorded by the 404 Monitor in all versions up to, and including, 7.1.0.55. This is due to insufficient input sanitization and output escaping: header values are stored in the 404 log without IP validation, and the admin 404 log table places them in an HTML attribute that is later read back and concatenated into HTML, so entity-encoded payloads become live markup. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the IP or user agent list in the 404 log.

## References

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

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

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.
