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)
- Affected
- all versions before 6.2.5
- Remediation
- Update to 6.2.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
- Weakness
- CWE-200
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-11-12
- Attack surface
- Contact Form 7 on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS