# Internal Links Manager <= 3.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via Link URL and Keywords

- **ID:** WPSEC-2026-1362
- **Plugin:** Internal Links Manager (`seo-automated-link-building`), https://wordpress.org/plugins/seo-automated-link-building/
- **Affected versions:** all versions before 3.2.0
- **Fixed in:** 3.2.0 (Update to 3.2.0 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/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-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/seo-automated-link-building
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1362/

## Description

The Internal Links Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the link URL and keyword fields in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping in the admin links list. The URL is placed in a single-quoted href attribute without escaping, and keywords and URLs supplied through the CSV/JSON link import are stored unsanitized and printed as-is. This makes it possible for authenticated attackers with administrator-level permissions and above to inject arbitrary web scripts that execute whenever a user views the links list. This only affects multi-site installations and installations where unfiltered_html has been disabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-1362/
- https://plugins.svn.wordpress.org/seo-automated-link-building/tags/3.2.0/
- https://wordpress.org/plugins/seo-automated-link-building/

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

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.
