{
 "id": "WPSEC-2026-3732",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3732/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3732/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3732/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3732.json",
 "title": "Yatra <= 3.1.2 - Unauthenticated Insecure Direct Object Reference to Payment Bypass via Payment Confirmation and Return Endpoints",
 "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.",
 "plugin": {
  "slug": "yatra",
  "name": "Yatra",
  "full_name": "Yatra – Travel Booking & Tour Operator Software",
  "wordpress_org": "https://wordpress.org/plugins/yatra/",
  "advisories_url": "https://wpsec.com/vuln/plugin/yatra/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/yatra"
 },
 "type": "AUTHBYPASS",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.0.0",
    "from_inclusive": true,
    "to": "3.1.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.0 before 3.1.3"
  ]
 },
 "introduced_in": "3.0.0",
 "fixed_in": "3.1.3",
 "remediation": "Update to 3.1.3 or later.",
 "fix_released": "2026-11-22T09:56:30+00:00",
 "published": "2026-11-23T14:56:33+00:00",
 "updated": "2026-11-23T13:55:06.349427+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3732/",
  "https://plugins.svn.wordpress.org/yatra/tags/3.1.3/",
  "https://wordpress.org/plugins/yatra/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/yatra",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-11-23"
 }
}