Yoast SEO <= 17.2 - Full Path Disclosure

5.3
Exposure of Sensitive Information to an Unauthorized Actor
CVE CVE-2021-25118
CVSS 5.3 (Medium)
Publicly Published October 5, 2021
Last Updated January 22, 2024
Researcher Fariq Fadillah Gusti Insani (fariqfgi)

Description

The Yoast SEO plugin for WordPress is vulnerable to Sensitive Data Exposure in versions up to, and including, 17.2 via the /wp/v2/posts REST endpoints that discloses the full internal path of featured images from posts. This makes it possible for unauthenticated attackers to extract sensitive data which consists of full site path information which can be used to exploit other vulnerabilities.

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 17.3, or a newer patched version
Affected Version
  • < 17.3
Patched Version
  • 17.3

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

# Title CVE ID CVSS Researchers Date
1 Yoast SEO <= 28.0 - Authenticated (Author+) Stored Cross-Site Scripting via Post Slug (post_name) CVE-2026-15425 6.4 Dmitrii Ignatyev July 24, 2026
2 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
3 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
4 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
5 Yoast SEO <= 22.6 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-4984 6.4 rob006 May 14, 2024
6 Yoast SEO <= 22.5 - Reflected Cross-Site Scripting CVE-2024-4041 6.1 Bassem Essam May 6, 2024
7 Yoast SEO <= 21.0 - Authenticated (Seo Manager+) Stored Cross-Site Scripting CVE-2023-40680 5.5 Rafie Muhammad November 24, 2023
8 Yoast SEO <= 20.2 - Authenticated (Contributor+) Stored Cross-Site Scripting 6.4 Leonidas Milosis March 2, 2023
9 Yoast SEO <= 11.5 - Authenticated Stored Cross Site Scripting CVE-2019-13478 6.4 Sybre Waaijer July 9, 2019
10 Yoast SEO <= 9.1.0 - Race Condition to Remote Code Execution CVE-2018-19370 6.6 November 6, 2018

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