# Controls for Contact Form 7 (Analytics & Tracking) <= 0.10.1 - Unauthenticated Arbitrary Shortcode Execution via Contact Form Submissions Stored in TablePress

- **ID:** WPSEC-2026-2904
- **Plugin:** Controls for Contact Form 7 (Redirects, Analytics & Tracking) (`contact-form-7-extras`), https://wordpress.org/plugins/contact-form-7-extras/
- **Affected versions:** from 0.9.0 before 0.10.2
- **Fixed in:** 0.10.2 (Update to 0.10.2 or later.)
- **Severity:** Medium 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/contact-form-7-extras
- **Fix released:** 2026-11-10
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2904/

## Description

The Controls for Contact Form 7 (Redirects, Analytics & Tracking) plugin for WordPress is vulnerable to arbitrary shortcode execution via contact form submission values stored in TablePress tables in all versions up to, and including, 0.10.1. This is due to the TablePress integration writing every posted field, including keys the form does not declare, into TablePress table cells without neutralizing shortcode brackets, while TablePress runs shortcodes in cell content when it renders the table. This makes it possible for unauthenticated attackers to inject arbitrary shortcodes, such as one that shows the contents of private tables, which run when the table is displayed on the site. Exploitation requires that an administrator has set a form to store submissions in a TablePress table and that this table is displayed publicly.

## References

- https://wpsec.com/vuln/WPSEC-2026-2904/
- https://plugins.svn.wordpress.org/contact-form-7-extras/tags/0.10.2/
- https://wordpress.org/plugins/contact-form-7-extras/

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

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.
