# Xagio SEO & AEO <= 7.1.0.54 - Authenticated (Contributor+) Stored Cross-Site Scripting via Page Header, Body and Footer Script Custom Fields

- **ID:** WPSEC-2026-3930
- **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:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/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-3930/

## Description

The Xagio SEO & AEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the XAGIO_SEO_SCRIPTS_HEADER, XAGIO_SEO_SCRIPTS_BODY and XAGIO_SEO_SCRIPTS_FOOTER post meta in all versions up to, and including, 7.1.0.54. This is due to these meta keys not being protected, allowing them to be written through the WordPress Custom Fields box, and their values being printed unfiltered on the front end. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3930/
- 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-3930/

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.
