Vulnerabilities / Contact Form / WPSEC-2026-3321
Contact Form <= 2.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via field_group Shortcode
Medium 6.4
CWE-79Fixed in 3.0.0
- ID
- WPSEC-2026-3321
- Plugin
- Contact Form 7 – Repeatable Fields (cf7-repeatable-fields)
- Affected
- all versions before 3.0.0
- Remediation
- Update to 3.0.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-18
- Attack surface
- Contact Form on WPSec AttackSurface
- Fix released
- Published
Description
The Contact Form 7 – Repeatable Fields plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the group ID of the 'field_group' shortcode in all versions up to, and including, 2.0.2. This is due to insufficient input sanitization and output escaping on the group ID, which is printed unescaped into the name attribute of the hidden group-count input. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-3321/
- https://plugins.svn.wordpress.org/cf7-repeatable-fields/tags/3.0.0/
- https://wordpress.org/plugins/cf7-repeatable-fields/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS