---
id: CVE-2026-97661
title: >-
  The Business Essentials for Contact Form 7 plugin for WordPress is vulnerable
  to Stored Cross-Site Scripting via 'gateway' Form Field in all versions up to,
  and including, 1.2.1 due to insufficient input sanitization and output
  escaping.…
summary: >-
  The Business Essentials for Contact Form 7 plugin for WordPress is vulnerable
  to Stored Cross-Site Scripting via 'gateway' Form Field in all versions up to,
  and including, 1.2.1 due to insufficient input sanitization and output
  escaping.…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: scottpaterson
product: Business Essentials for Contact Form 7
affected:
  - business_essentials_for_contact_form_7 <= 1.2.1
published: '2026-10-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T09:17:11.043'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97661'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/cf7-redirect-thank-you-page/tags/1.2.1/includes/modules/payments/cpt.php#L313
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cf7-redirect-thank-you-page/tags/1.2.1/includes/modules/payments/functions.php#L15
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cf7-redirect-thank-you-page/tags/1.2.1/includes/modules/payments/redirect_methods.php#L205
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3713721/cf7-redirect-thank-you-page
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e6a60043-a060-472b-9b43-e82a4d2420b0?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-01T09:41:14.160Z'
---

## Overview

The Business Essentials for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'gateway' Form Field in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the Payments module to be enabled and a form to be configured to accept both PayPal and Stripe as payment gateways.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
