# The Events Calendar <= 6.18.4.1 - Authenticated (Contributor+) Missing Authorization to Event Publication via REST API 'status' Parameter

- **ID:** WPSEC-2026-4033
- **Plugin:** The Events Calendar (`the-events-calendar`), https://wordpress.org/plugins/the-events-calendar/
- **Affected versions:** from 4.6 before 6.18.5
- **Fixed in:** 6.18.5 (Update to 6.18.5 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/the-events-calendar
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4033/

## Description

The The Events Calendar plugin for WordPress is vulnerable to unauthorized event publication via the 'status' parameter of the REST API event create and update endpoints in all versions up to, and including, 6.18.4.1. This is due to the endpoint accepting any registered post status and only changing 'publish' and 'future' to 'pending' for users who cannot publish events. Other statuses are saved unchanged, including the Event Aggregator record statuses, which are registered as public. This makes it possible for authenticated attackers with Contributor-level access and above, who can create events but not publish them, to make their events publicly visible and bypass the editorial review workflow.

## References

- https://wpsec.com/vuln/WPSEC-2026-4033/
- https://plugins.svn.wordpress.org/the-events-calendar/tags/6.18.5/
- https://wordpress.org/plugins/the-events-calendar/

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

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.
