# Yatra <= 3.1.0 - Missing Authorization to Unauthenticated Draft Trip Disclosure

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

## Description

The Yatra plugin for WordPress is vulnerable to unauthorized access of data via the single trip page in all versions up to, and including, 3.1.0, due to a missing capability check in the single trip lookup. The lookup always included draft trips in its status filter, so the staff-only preview check never ran. This makes it possible for unauthenticated attackers to view the content of draft (unpublished) trips by requesting their slug.

## References

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

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

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.
