CVE-2024-4041: Yoast SEO (WordPress plugin) · Cross-site Scripting
Affects Yoast SEO (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| yoast Yoast SEO – Advanced SEO with real-time guidance and built-in AI | Affected
| Fixed in– |
AI-suggested
Until an official fix is released, users should exercise caution when clicking on untrusted links that may target this vulnerability. Monitoring Yoast's official channels for updates and applying updates promptly once available is recommended.
Description
The Yoast SEO plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URLs in all versions up to, and including, 22.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
References
- wordfence.com/threat-intel/vulnerabilities/id/4e04b161-3cd0-454d-869c-56f42bd8afb0?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/wordpress-seo/trunk/src/helpers/short-link-helper.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wordpress-seo/trunk/src/helpers/short-link-helper.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wordpress-seo/trunk/inc/class-wpseo-shortlinker.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wordpress-seo/trunk/inc/class-wpseo-admin-bar-menu.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3078555/wordpress-seo/trunk (opens in a new tab)