CVE-2024-4041: Yoast SEO <= 22.5 - Reflected Cross-Site Scripting
Vulnerability summary
CVE-2024-4041 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in wordpress wordpress-seo. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities. Fixed in 22.6.
Timeline
- 09-05-2024PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- wordfenceSource6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.83% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Wordpress1 product
- wordpress-seo≤ 22.5 (fixed in 22.6)
Yoast1 product
2 vendors · 2 products