CVE-2024-4041 json
Yoast SEO <= 22.5 - Reflected Cross-Site Scripting
published 2024-05-09 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-32606
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- yoast wordpress_seo 22.6
- yoast yoast_seo 22.6
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected products
- yoast Yoast SEO – Advanced SEO with real-time guidance and built-in AI
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/4e04b161-3cd0-454d-869c-56f42bd8afb0?source=cve
- plugins.trac.wordpress.org /browser/wordpress-seo/trunk/src/helpers/short-link-helper.php#L105
- plugins.trac.wordpress.org /browser/wordpress-seo/trunk/src/helpers/short-link-helper.php#L45
- plugins.trac.wordpress.org /browser/wordpress-seo/trunk/inc/class-wpseo-shortlinker.php#L20
- plugins.trac.wordpress.org /browser/wordpress-seo/trunk/inc/class-wpseo-admin-bar-menu.php#L601
- plugins.trac.wordpress.org /changeset/3078555/wordpress-seo/trunk#file129
Sources
- CVE List CVE-2024-4041
- NVD CVE-2024-4041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.