# All in One SEO <= 5.0.5.1 - Cross-Site Request Forgery to SEO Title, Meta Description and Image Alt Text Overwrite via AI Bulk Generate

- **ID:** WPSEC-2026-4010
- **Plugin:** All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights) (`all-in-one-seo-pack`), https://wordpress.org/plugins/all-in-one-seo-pack/
- **Affected versions:** from 4.9.6 before 5.0.6.1
- **Fixed in:** 5.0.6.1 (Update to 5.0.6.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/all-in-one-seo-pack
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4010/

## Description

The All in One SEO plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions 4.9.6 up to, and including, 5.0.5.1. This is due to missing nonce validation on the AI Bulk Generate admin page, which takes the list of posts to process from the URL and automatically generates and saves AI-written SEO titles, meta descriptions or image alt text for them as soon as the page loads. This makes it possible for unauthenticated attackers to overwrite the SEO titles, meta descriptions or image alt text of posts of their choosing, and to spend the site's AI credits, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4010/
- https://plugins.svn.wordpress.org/all-in-one-seo-pack/tags/5.0.6.1/
- https://wordpress.org/plugins/all-in-one-seo-pack/

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

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.
