Yoast SEO <= 28.9 - Authenticated (Contributor+) Missing Authorization to Restricted Advanced SEO Meta Fields Update
- ID
- WPSEC-2026-4367
- Plugin
- Yoast SEO – Advanced SEO with real-time guidance and built-in AI (wordpress-seo)
- Affected
- all versions before 29.0
- Remediation
- Update to 29.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-863
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-12-03
- Attack surface
- Yoast SEO on WPSec AttackSurface
- Fix released
- Published
Description
The Yoast SEO plugin for WordPress is vulnerable to unauthorized modification of data via post custom fields in all versions up to, and including, 28.9. The cause is the allow_custom_field_edits() 'user_has_cap' filter, which grants the edit_post_meta and add_post_meta capabilities for every _yoast_wpseo_ meta key to any user who can edit the post and ignores the 'Restrict advanced settings for authors' (disableadvanced_meta) setting. This makes it possible for authenticated attackers, with Contributor-level access and above, to set advanced and schema SEO fields on posts they can edit, such as robots noindex/nofollow directives, the canonical URL, the breadcrumb title and the Schema page and article types. They do this through the XML-RPC custom fields interface, even when the site restricts these fields to users with the wpseo_edit_advanced_metadata capability.
References
- https://wpsec.com/vuln/WPSEC-2026-4367/
- https://plugins.svn.wordpress.org/wordpress-seo/tags/29.0/
- https://wordpress.org/plugins/wordpress-seo/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS