What’s Vulnerable › Vulnerabilities
CVE-2021-25118: Yoast SEO 16.7-17.2 - Unauthenticated Full Path Disclosure
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-28 · updated 2026-06-17
- Weakness: CWE-200
Description
The Yoast SEO WordPress plugin (from versions 16.7 until 17.2) discloses the full internal path of featured images in posts via the wp/v2/posts REST endpoints which could help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.
Affected products
- Yoast SEO: Local: from 16.7 before 17.3 — fixed in 17.3
How to fix
Upgrade to a fixed version: Yoast SEO: Local 17.3. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/changeset/2608691
- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
- https://plugins.trac.wordpress.org/changeset/2608691
- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
Get alerted when CVE-2021-25118 or the next vulnerability affects your stack