# Contact Form 7 <= 6.2.4.1 - Authenticated (Editor+) Sensitive Information Exposure via 'user_' Form-Tag Default Options

- **ID:** WPSEC-2026-2840
- **Plugin:** Contact Form 7 (`contact-form-7`), https://wordpress.org/plugins/contact-form-7/
- **Affected versions:** all versions before 6.2.5
- **Fixed in:** 6.2.5 (Update to 6.2.5 or later.)
- **Severity:** Medium 4.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/contact-form-7
- **Fix released:** 2026-11-10
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2840/

## Description

The Contact Form 7 plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'user_' default options of form-tags in all versions up to, and including, 6.2.4.1. This is due to the plugin mapping any 'user_*' option to an arbitrary property of the current user object instead of a restricted set of non-sensitive properties. This makes it possible for authenticated attackers with form editing access, editor-level and above, to make a form prefill fields with a logged-in visitor's password hash or activation key, which is then submitted back to them when the visitor sends the form.

## References

- https://wpsec.com/vuln/WPSEC-2026-2840/
- https://plugins.svn.wordpress.org/contact-form-7/tags/6.2.5/
- https://wordpress.org/plugins/contact-form-7/

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

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.
