Vulnerabilities / Yatra / WPSEC-2026-3732

Yatra <= 3.1.2 - Unauthenticated Insecure Direct Object Reference to Payment Bypass via Payment Confirmation and Return Endpoints

High 7.5 CWE-639Fixed in 3.1.3
ID
WPSEC-2026-3732
Plugin
Yatra – Travel Booking & Tour Operator Software (yatra)
Affected
from 3.0.0 before 3.1.3
Remediation
Update to 3.1.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-23
Attack surface
Yatra on WPSec AttackSurface
Fix released
Published

Description

The Yatra plugin for WordPress is vulnerable to Insecure Direct Object Reference via the public payment confirmation and payment return endpoints in all versions up to, and including, 3.1.2 due to the booking_id and transaction_id being taken from the request without verifying that the gateway transaction belongs to that booking, is completed, matches the booking's currency, and was not already recorded, and due to the full amount due being credited when the gateway reported no paid amount. This makes it possible for unauthenticated attackers to replay a single cheap genuine payment to mark other bookings as fully paid.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0