Redirection for Contact Form 7 <= 3.2.18 - Unauthenticated Reflected Cross-Site Scripting via Redirect URL Form Tags
- ID
- WPSEC-2026-4020
- Plugin
- Redirection for Contact Form 7 (wpcf7-redirect)
- Affected
- from 2.2.7 before 3.2.19
- Remediation
- Update to 3.2.19 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-11-26
- Attack surface
- Redirection for Contact Form 7 on WPSec AttackSurface
- Fix released
- Published
Description
The Redirection for Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the Redirect action's external URL in all versions up to, and including, 3.2.18, due to the redirect URL built from submitted form tag values not being restricted to safe schemes before it is output in the redirect script or the redirect form. This makes it possible for unauthenticated attackers to execute arbitrary scripts in a victim's browser by tricking the victim into submitting a crafted form request, for example through an auto-submitting cross-site form. Exploitation requires a Redirect action whose external URL begins with a form tag.
References
- https://wpsec.com/vuln/WPSEC-2026-4020/
- https://plugins.svn.wordpress.org/wpcf7-redirect/tags/3.2.19/
- https://wordpress.org/plugins/wpcf7-redirect/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS