# Event Booking Manager for WooCommerce <= 5.7.15 - Authenticated (Contributor+) Local File Inclusion via Event Template Meta

- **ID:** WPSEC-2026-3537
- **Plugin:** Event Booking Manager for WooCommerce – Sell Tickets, Event Registration, RSVP & Event Calendar (`mage-eventpress`), https://wordpress.org/plugins/mage-eventpress/
- **Affected versions:** all versions before 5.7.16
- **Fixed in:** 5.7.16 (Update to 5.7.16 or later.)
- **Severity:** High 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-98
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mage-eventpress
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3537/

## Description

The Event Booking Manager for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion via the 'mep_event_template' event meta value in all versions up to, and including, 5.7.15, due to the template name being joined to the template directory and passed to require_once without checking for directory traversal or the file extension. This makes it possible for authenticated attackers, with contributor-level access and above, to set this meta key on their own event through WordPress core's generic post meta handlers and include any file on the server. PHP code in that file is then executed. This can be used to bypass access controls, obtain sensitive data, or run code where files with PHP content can be uploaded.

## References

- https://wpsec.com/vuln/WPSEC-2026-3537/
- https://plugins.svn.wordpress.org/mage-eventpress/tags/5.7.16/
- https://wordpress.org/plugins/mage-eventpress/

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

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.
