Summary
The WP Event Aggregator WordPress plugin, in all versions up to and including 1.9.5, is vulnerable to code injection (CWE-94). The 'atts' parameter is insufficiently sanitized: sanitize_text_field() and esc_attr() do not strip the ']' character, allowing shortcode attribute breakout before do_shortcode() runs. This enables arbitrary shortcode execution and, per the description, code execution on the server.
The only gate is a nonce checked by check_ajax_referer(), but that nonce is emitted to every frontend page for anonymous visitors via wp_localize_script, so it provides no access control. CVSS 9.8 (critical): network attack, low complexity, no authentication, no user interaction, with full impact on confidentiality, integrity and availability.
The vulnerability is not in the CISA KEV catalog, but EPSS (about 1.7%, 78th percentile) indicates elevated exploitation likelihood. Successful exploitation can lead to full site compromise.
Who is affected
Any organization running WordPress sites with the WP Event Aggregator plugin version 1.9.5 or earlier.
What to do
- Check whether WP Event Aggregator is installed and its version (WordPress Plugins screen or WP-CLI: wp plugin list).
- No fixed version is listed in the record; check the vendor's official release and the Wordfence advisory, and update to a version newer than 1.9.5 containing the fix (changeset 3839161).
- Until updated, deactivate and remove the plugin if it is not essential.
- Review web server logs for suspicious requests to admin-ajax.php and check file integrity and user accounts for signs of compromise.
- If you use a WAF (e.g. Wordfence), ensure rules covering this vulnerability are active.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-94 Improper Control of Generation of Code
References
- www.wordfence.com/threat-intel/vulnerabilities/id/bbb8c91c-769f-49a0-9f71-8a0183b195a6?sou
- plugins.trac.wordpress.org/browser/wp-event-aggregator/tags/1.9.5/includes/class-wp-event-
- plugins.trac.wordpress.org/browser/wp-event-aggregator/tags/1.9.5/includes/class-wp-event-
- plugins.trac.wordpress.org/browser/wp-event-aggregator/tags/1.9.5/includes/class-wp-event-
- plugins.trac.wordpress.org/browser/wp-event-aggregator/tags/1.9.5/wp-event-aggregator.php#
- plugins.trac.wordpress.org/changeset/3839161/wp-event-aggregator
- plugins.trac.wordpress.org/changeset/3839161/wp-event-aggregator/trunk/includes/class-wp-e
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.