Yoast SEO <= 22.5 - Reflected Cross-Site Scripting

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-4041
CVSS 6.1 (Medium)
Publicly Published May 6, 2024
Last Updated May 9, 2024
Researcher Bassem Essam

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Yoast SEO – Advanced SEO with real-time guidance and built-in AI

Software Type Plugin
Software Slug wordpress-seo (view on wordpress.org)
Patched? Yes
Remediation Update to version 22.6, or a newer patched version
Affected Version
  • <= 22.5
Patched Version
  • 22.6

Recent vulnerabilities in Yoast SEO – Advanced SEO with real-time guidance and built-in AI

# Title CVE ID CVSS Researchers Date
1 Yoast SEO <= 26.5 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Exposure via 'post_id' Parameter CVE-2025-14481 4.3 NumeX May 26, 2026
2 Yoast SEO <= 27.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'jsonText' Block Attribute CVE-2026-3427 6.4 Osvaldo Noe Gonzalez Del Rio (Os) March 21, 2026
3 Yoast SEO <= 26.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'yoast-schema' Block Attribute CVE-2026-1293 6.4 suyoung kim(AhnLab) February 5, 2026
4 Yoast SEO <= 22.6 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-4984 6.4 rob006 May 14, 2024
5 Yoast SEO <= 21.0 - Authenticated (Seo Manager+) Stored Cross-Site Scripting CVE-2023-40680 5.5 Rafie Muhammad November 24, 2023
6 Yoast SEO <= 20.2 - Authenticated (Contributor+) Stored Cross-Site Scripting 6.4 Leonidas Milosis March 2, 2023
7 Yoast SEO <= 17.2 - Full Path Disclosure CVE-2021-25118 5.3 Fariq Fadillah Gusti Insani (fariqfgi) October 5, 2021
8 Yoast SEO <= 11.5 - Authenticated Stored Cross Site Scripting CVE-2019-13478 6.4 Sybre Waaijer July 9, 2019
9 Yoast SEO <= 9.1.0 - Race Condition to Remote Code Execution CVE-2018-19370 6.6 November 6, 2018
10 Yoast SEO <= 5.7.1 - Reflected Cross-Site Scripting CVE-2017-16842 6.1 Elias Dimopoulos November 22, 2017

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation