# YML for Yandex Market <= 5.10.0 - Unauthenticated Sensitive Information Exposure via Log File

- **ID:** WPSEC-2026-2178
- **Plugin:** YML for Yandex Market (`yml-for-yandex-market`), https://wordpress.org/plugins/yml-for-yandex-market/
- **Affected versions:** from 5.8.0 before 5.11.0
- **Fixed in:** 5.11.0 (Update to 5.11.0 or later.)
- **Severity:** Medium 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-532
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-31)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/yml-for-yandex-market
- **Fix released:** 2026-10-30
- **Published:** 2026-10-31
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2178/

## Description

The YML for Yandex Market plugin for WordPress is vulnerable to Sensitive Information Exposure via its log file in versions 5.8.0 up to, and including, 5.10.0, due to the response_to_yandex() function writing the request headers, including the Yandex Market 'Api-Key', to the publicly accessible wp-content/uploads/y4ym/yml-for-yandex-market.log file. This makes it possible for unauthenticated attackers to get the site's Yandex Market API key when plugin logging is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-2178/
- https://plugins.svn.wordpress.org/yml-for-yandex-market/tags/5.11.0/
- https://wordpress.org/plugins/yml-for-yandex-market/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2178/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
