CVE-2024-4041: Yoast SEO <= 22.5 - Reflected Cross-Site Scripting

Published May 9, 2024
·
Updated

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.

Affected Software

1 affected component
Yoast SEO<=22.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WordPress plugin: Yoast SEO to a version that resolves this vulnerability.

    Fixed in 22.5
  2. Compensating control

    Because the issue affects unauthenticated reflected XSS via crafted URLs, prevent users from interacting with attacker-controlled links (e.g., block or filter untrusted URLs in emails/messages, and restrict external link exposure) until you upgrade beyond 22.5.

Event History

May 9, 2024
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 PM
DescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:42 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-4041?

CVE-2024-4041 has a medium severity level due to its potential for exploitation through reflected cross-site scripting.

2

How do I fix CVE-2024-4041?

To fix CVE-2024-4041, update the Yoast SEO plugin to version 22.6 or later, which addresses the vulnerability.

3

Who is affected by CVE-2024-4041?

CVE-2024-4041 affects all versions of the Yoast SEO plugin for WordPress up to and including version 22.5.

4

What type of vulnerability is CVE-2024-4041?

CVE-2024-4041 is a reflected cross-site scripting vulnerability due to insufficient input sanitization.

5

Can unprivileged users exploit CVE-2024-4041?

Yes, unauthenticated attackers can exploit CVE-2024-4041 to inject arbitrary web scripts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203