Integration for Contact Form 7 HubSpot <= 1.2.8 - Open Redirect via state parameter

URL Redirection to Untrusted Site ('Open Redirect')
CVE CVE-2023-31095
CVSS 4.3 (Medium)
Publicly Published April 26, 2023
Last Updated April 27, 2023
Researcher Le Ngoc Anh - sun*inc


Integration for Contact Form 7 HubSpot is vulnerable to Open Redirects in versions up to, and including, 1.2.8. This is due to insufficient validation on the redirect url supplied via the 'state' parameter. This makes it possible for unauthenticated attackers to redirect users to potentially malicious sites if they can successfully trick them into performing an action.



Vulnerability Details for Integration for HubSpot and Contact Form 7, WPForms, Elementor, Ninja Forms

Software Type Plugin
Software Slug cf7-hubspot (view on
Patched? Yes
Remediation Update to version 1.2.9, or a newer patched version
Affected Version
  • <= 1.2.8
Patched Version
  • 1.2.9

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.