# CVE-2021-25118: Yoast SEO 16.7-17.2 - Unauthenticated Full Path Disclosure

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.63%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-28T09:06:38.000Z
- Modified: 2026-06-17T03:41:29.570Z
- Weaknesses: CWE-200
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Yoast SEO: from 16.7 before 16.7*; from 17.3 before 17.3
- yoast yoast_seo: from 16.7 before 17.3

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2608691> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25118](https://www.cve.org/CVERecord?id=CVE-2021-25118), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25118](https://nvd.nist.gov/vuln/detail/CVE-2021-25118), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25118 · Whole record: https://cve.day/CVE-2021-25118.json · Rebuilt by cve.day 2026-11-25T22:58:07.083Z
