CVE-2026-9189
JSON

5.3medium

Contact Form 7 – PayPal & Stripe Add-on <= 2.4.9 - Unauthenticated Payment Bypass via Insufficient Verification of Data Authenticity via PayPal IPN Handler ('invoice'/'mc_gross' Verification)

Severity
5.3medium CVSS:3.1 by Wordfence
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The Contact Form 7 – PayPal & Stripe Add-on plugin for WordPress is vulnerable to Payment Bypass via Insufficient Verification of Data Authenticity in all versions up to, and including, 2.4.9. Although `cf7pp_paypal_ipn_handler()` correctly validates IPN authenticity by posting back to PayPal with `cmd=_notify-validate`, it fails to compare the IPN payload's `mc_gross` (payment amount), `mc_currency`, or `receiver_email` fields against the corresponding stored order values before passing the attacker-controlled `invoice` field directly to `cf7pp_complete_payment()`, which marks the order completed after only an integer cast with no amount verification. This makes it possible for unauthenticated attackers to mark arbitrary high-value pending orders as fully paid by making a minimal real PayPal payment and crafting an IPN whose `invoice` parameter references the targeted order, effectively completing purchases without tendering the required payment amount.

Affected

Product or packageVersionsReported by
scottpaterson Contact Form 7 – PayPal & Stripe Add-onup to 2.4.9CVE List

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

The Contact Form 7 – PayPal & Stripe Add-on plugin for WordPress is vulnerable to Payment Bypass via Insufficient Verification of Data Authenticity in all versions up to, and including, 2.4.9. Although `cf7pp_paypal_ipn_handler()` correctly validates IPN authenticity by posting back to PayPal with `cmd=_notify-validate`, it fails to compare the IPN payload's `mc_gross` (payment amount), `mc_currency`, or `receiver_email` fields against the corresponding stored order values before passing the attacker-controlled `invoice` field directly to `cf7pp_complete_payment()`, which marks the order completed after only an integer cast with no amount verification. This makes it possible for unauthenticated attackers to mark arbitrary high-value pending orders as fully paid by making a minimal real PayPal payment and crafting an IPN whose `invoice` parameter references the targeted order, effectively completing purchases without tendering the required payment amount.

NVD (es)

El plugin Contact Form 7 – PayPal & Stripe Add-on para WordPress es vulnerable a una Omisión de Pago (Payment Bypass) a través de una Verificación Insuficiente de la Autenticidad de los Datos en todas las versiones hasta la 2.4.9, inclusive. Aunque `cf7pp_paypal_ipn_handler()` valida correctamente la autenticidad del IPN al enviar una publicación de vuelta a PayPal con `cmd=_notify-validate`, no compara los campos `mc_gross` (importe del pago), `mc_currency` o `receiver_email` del payload del IPN con los valores de pedido almacenados correspondientes antes de pasar el campo `invoice` controlado por el atacante directamente a `cf7pp_complete_payment()`, el cual marca el pedido como completado después de solo una conversión a entero sin verificación de importe. Esto hace posible que atacantes no autenticados marquen pedidos pendientes arbitrarios de alto valor como totalmente pagados al realizar un pago real mínimo de PayPal y elaborar un IPN cuyo parámetro `invoice` haga referencia al pedido objetivo, completando efectivamente las compras sin abonar el importe de pago requerido.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/5e274781-1c20-4224-bc10-26dadb9b1e07?source=cve
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.8/includes/payments/paypal_handler.php#L106
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.8/includes/payments/paypal_handler.php#L75
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.8/includes/payments/functions.php#L31
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.6/includes/payments/paypal_handler.php#L106
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.6/includes/payments/paypal_handler.php#L75
https://plugins.trac.wordpress.org/browser/contact-form-7-paypal-add-on/tags/2.4.6/includes/payments/functions.php#L31
https://plugins.trac.wordpress.org/changeset/3551197/contact-form-7-paypal-add-on

Sources

SourceRecordLicence
CVE ListCVE-2026-9189 changed 2026-05-29CVE Terms of Use
NVDCVE-2026-9189 changed 2026-07-21Public domain