CVE-2026-15425

Yoast SEO <= 28.0 - Authenticated (Author+) Stored Cross-Site Scripting via Post Slug (post_name)

Published Jul 25, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Post Slug (post_name) in all versions up to, and including, 28.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires pretty permalinks to be enabled, as the exploit chain depends on get_permalink() embedding the stored percent-encoded post_name in the generated URL.

Analysis

AI-generated

Technical impact

The Yoast SEO plugin for WordPress is vulnerable to stored cross‑site scripting triggered by the post slug (post_name) field. The plugin fails to sanitize or escape user‑provided input before persisting the slug in the database, and when pretty permalinks are enabled the slug is incorporated into the URL via get_permalink. An authenticated attacker with author‑level or higher privileges can embed JavaScript in the slug, causing that code to execute in the browsers of visitors who load the affected page.

Affected Systems

All versions of the Yoast SEO – Advanced SEO with real‑time guidance and built‑in AI plugin up to and including 28.0 are vulnerable. Versions 28.1 and later contain a fix that sanitizes and escapes the post_name field to prevent this attack.

Risk and Exploitability

The CVSS score of 6.4 classifies this vulnerability as moderate severity. The EPSS score of less than 1% suggests that exploitation is currently unlikely, and the vulnerability is not listed in CISA’s KEV catalog. Successful exploitation requires pretty permalinks to be enabled and the attacker to possess author‑level or higher access. Once the malicious slug is stored, the embedded script will run in any visitor’s browser when the compromised page is viewed, potentially hijacking user sessions or defacing the site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Yoast SEO plugin to a release newer than 28.0 to apply the fixed input sanitization and output escaping.
  • Remove or sanitize any existing post slugs that contain suspicious characters or script payloads to eliminate stored data.
  • Disable pretty permalinks for the affected post type if they are not required, or restrict access to get_permalink to mitigate the attack vector.

Generated by OpenCVE AI on August 3, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Yoast
Yoast yoast Seo – Advanced Seo With Real-time Guidance And Built-in Ai
Vendors & Products Wordpress
Wordpress wordpress
Yoast
Yoast yoast Seo – Advanced Seo With Real-time Guidance And Built-in Ai
Type Values Removed Values Added
Description The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Post Slug (post_name) in all versions up to, and including, 28.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires pretty permalinks to be enabled, as the exploit chain depends on get_permalink() embedding the stored percent-encoded post_name in the generated URL.
Title Yoast SEO <= 28.0 - Authenticated (Author+) Stored Cross-Site Scripting via Post Slug (post_name)
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 13, 2026, 4:46 PM
Reserved
Jul 10, 2026, 4:20 PM
Status
Deferred
Published
Jul 25, 2026, 7:17 AM
Modified
Nov 13, 2026, 5:17 PM