CVE-2024-4041: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yoast Yoast SEO – Advanced SEO with real-time guidance and built-in AI
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.
AI Analysis
Technical Summary
CVE-2024-4041 is a reflected cross-site scripting vulnerability in the Yoast SEO WordPress plugin (up to version 22.5). The issue arises from improper neutralization of input in URLs, allowing unauthenticated attackers to inject malicious scripts that execute in the context of a victim's browser when they interact with a crafted URL. This vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.1, reflecting medium severity with network attack vector, low attack complexity, no privileges required, but requiring user interaction. The vulnerability affects the Yoast SEO plugin, which is not a cloud service, and no official patch or vendor advisory with remediation instructions is currently available.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the victim's browser, potentially allowing theft of sensitive information or session tokens, or performing actions on behalf of the user. The impact is limited to confidentiality and integrity with no availability impact. The vulnerability requires user interaction (clicking a malicious link) and no authentication is needed for the attacker.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2024-4041: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yoast Yoast SEO – Advanced SEO with real-time guidance and built-in AI
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-4041 is a reflected cross-site scripting vulnerability in the Yoast SEO WordPress plugin (up to version 22.5). The issue arises from improper neutralization of input in URLs, allowing unauthenticated attackers to inject malicious scripts that execute in the context of a victim's browser when they interact with a crafted URL. This vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.1, reflecting medium severity with network attack vector, low attack complexity, no privileges required, but requiring user interaction. The vulnerability affects the Yoast SEO plugin, which is not a cloud service, and no official patch or vendor advisory with remediation instructions is currently available.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the victim's browser, potentially allowing theft of sensitive information or session tokens, or performing actions on behalf of the user. The impact is limited to confidentiality and integrity with no availability impact. The vulnerability requires user interaction (clicking a malicious link) and no authentication is needed for the attacker.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-22T19:32:57.450Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b80b7ef31ef0b556046
Added to database: 2/25/2026, 9:37:04 PM
Last enriched: 4/9/2026, 2:26:51 PM
Last updated: 4/12/2026, 5:14:37 PM
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.