{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25118 exists.","fix":"No fix has been published for CVE-2021-25118 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-25118 is a medium-severity vulnerability in Unknown Yoast SEO, published on 28 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-25118 and fix it if it is affected.\n\nWhat it is: CVE-2021-25118 is a medium-severity vulnerability in Unknown Yoast SEO, published on 28 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25118 exists.\n\nAffected product: Unknown Yoast SEO. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-25118/ (Markdown: https://insights.sbomify.com/CVE-2021-25118/index.md)","id":"CVE-2021-25118","markdown":"https://insights.sbomify.com/CVE-2021-25118/index.md","name":"CVE-2021-25118","record":{"aliases":["GHSA-946c-79cp-58mf"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can retrieve full internal file paths of featured images via REST endpoints, aiding further exploitation.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"yoast_seo","vendor":"yoast"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-25118.yaml","stars":null,"title":"Yoast SEO 16.7-17.2 - Information Disclosure"}],"tier":"weaponised"},"has_fix":false,"headline":"Yoast SEO 16.7-17.2 - Unauthenticated Full Path Disclosure","id":"CVE-2021-25118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"AGIL \u003c= 1.0 - Admin+ Arbitrary File Upload","id":"CVE-2021-25119"},"packages":[],"prev":{"headline":"WP Postratings \u003c 1.86.1 - Admin+ Stored Cross-Site Scripting","id":"CVE-2021-25117"},"products":["Yoast SEO"],"published":"2022-02-28","related":[{"cvss_score":9.9,"headline":"Cross-site scripting in n/a","id":"CVE-2019-13478","kev_date_added":null,"published":"2019-07-09"},{"cvss_score":7.1,"headline":"WordPress Yoast SEO: Local Plugin \u003c= 14.8 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-32300","kev_date_added":null,"published":"2023-08-23"},{"cvss_score":6.6,"headline":"Race condition in n/a","id":"CVE-2018-19370","kev_date_added":null,"published":"2018-11-28"},{"cvss_score":6.5,"headline":"WordPress Yoast SEO: Local Plugin \u003c= 14.9 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-28785","kev_date_added":null,"published":"2023-05-28"},{"cvss_score":6.4,"headline":"Server-Side Request Forgery in yoast_seo","id":"CVE-2021-31779","kev_date_added":null,"published":"2021-04-28"},{"cvss_score":5.9,"headline":"WordPress Yoast SEO Plugin \u003c= 21.0 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-40680","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":5.4,"headline":"Cross-site Scripting in the yoast_seo TYPO3 extension","id":"CVE-2021-36788","kev_date_added":null,"published":"2021-08-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"Unauthenticated attackers can retrieve full internal file paths of featured images via REST endpoints, aiding further exploitation.","url":"https://insights.sbomify.com/CVE-2021-25118/"}