# Secure Custom Fields <= 6.9.9 - Authenticated (Contributor+) Sensitive Information Exposure via REST API Icon Picker Field

- **ID:** WPSEC-2026-3670
- **Plugin:** Secure Custom Fields (`secure-custom-fields`), https://wordpress.org/plugins/secure-custom-fields/
- **Affected versions:** all versions before 6.9.10
- **Fixed in:** 6.9.10 (Update to 6.9.10 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/secure-custom-fields
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3670/

## Description

The Secure Custom Fields plugin for WordPress is vulnerable to Sensitive Information Exposure via the REST API in all versions up to, and including, 6.9.9. This is due to Icon Picker fields set to the string return format returning the Media Library attachment URL in standard-format REST responses without checking that the caller can read the attachment. This makes it possible for authenticated attackers with Contributor-level access and above to point an Icon Picker field on their own post at another attachment ID and read the URL of Media Library files they cannot otherwise access, such as images attached to private or draft posts.

## References

- https://wpsec.com/vuln/WPSEC-2026-3670/
- https://plugins.svn.wordpress.org/secure-custom-fields/tags/6.9.10/
- https://wordpress.org/plugins/secure-custom-fields/

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

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.
