# Yatra <= 3.1.2 - Unauthenticated Payment Bypass via PayPal IPN Receiver Validation

- **ID:** WPSEC-2026-3731
- **Plugin:** Yatra – Travel Booking & Tour Operator Software (`yatra`), https://wordpress.org/plugins/yatra/
- **Affected versions:** from 3.0.7 before 3.1.3
- **Fixed in:** 3.1.3 (Update to 3.1.3 or later.)
- **Severity:** Medium 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)
- **Weakness:** CWE-345
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/yatra
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3731/

## Description

The Yatra plugin for WordPress is vulnerable to Payment Bypass via the PayPal (Simple mode) IPN handler in versions 3.0.7 up to, and including, 3.1.2, due to insufficient verification of the receiving PayPal account and currency on PayPal-verified IPN messages. This makes it possible for unauthenticated attackers to make a genuine PayPal payment to an account they control, send its IPN to the site with another booking's ID, and have that booking marked as paid without paying the site owner. The site must use the PayPal gateway in Simple (IPN) mode.

## References

- https://wpsec.com/vuln/WPSEC-2026-3731/
- https://plugins.svn.wordpress.org/yatra/tags/3.1.3/
- https://wordpress.org/plugins/yatra/

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

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.
