# CVE-2026-8089: weMail WordPress plugin Reflected XSS in wemail_preview AJAX action

Source: https://junglewise.ai/threats/cve-2026-8089-wemail-wordpress-plugin-reflected-xss-in-wemail-preview-ajax  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-17. Updated: 2026-06-20  
License: CC BY 4.0 with a link back

CVE-2026-8089 · Severity: high · CVSS 7.1 · Published 2026-06-17

A security vulnerability in the weMail WordPress plugin, used for email marketing and newsletters, could allow an attacker to take over a website. By tricking an administrator into clicking a malicious link, an attacker can execute hidden commands in the administrator's browser. This can be used to create new unauthorized administrator accounts or steal sensitive site data.

Technologies: [weMail](https://junglewise.ai/threats/technologies/wemail). Vendors: [weMail](https://junglewise.ai/threats/vendors/wemail).

## Quick answers

**Is CVE-2026-8089 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-8089 being exploited in the wild.

**How severe is CVE-2026-8089?** High severity, with a CVSS score of 7.1, published 17 June 2026.

**Which products and versions are affected?** weMail < 2.1.3.

**Is there a fix for CVE-2026-8089?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-8089 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-8089?** Check whether you run weMail at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Reflected Cross-Site Scripting (XSS) vulnerability exists in the weMail plugin for WordPress due to insufficient sanitization of the 'form_id' parameter in the 'wemail_preview' AJAX action. While the plugin uses sanitize_text_field(), this function does not encode double quotes, allowing an attacker to break out of HTML attributes in the response. Because the AJAX response is not protected by a nonce and includes a valid 'wp_rest' nonce in the payload, an unauthenticated attacker can craft a URL that, when visited by an authenticated administrator, executes arbitrary JavaScript. This can be leveraged to perform a one-shot account takeover by using the reflected REST API nonce to create a new administrator user.

## Affected products

- weMail weMail: Email Marketing, Email Automation, Newsletters, Subscribers & Email Optins for WooCommerce < 2.1.3

## Timeline

- 2026-03-10: other: Initial discovery or related activity mentioned in references
- 2026-05-27: disclosed: Vulnerability details made public by WPScan
- 2026-06-17: advisory: CVE published to NVD

## References

- [https://wpscan.com/vulnerability/f00c1853-a4b2-4e91-99b3-fed8acbe6da7/](https://wpscan.com/vulnerability/f00c1853-a4b2-4e91-99b3-fed8acbe6da7/)

## Related threats

- [weMail WordPress plugin API key disclosure to Editor role](https://junglewise.ai/threats/cve-2026-104648-the-wemail-wordpress-plugin-through-2-1-6-does-not-restrict-a)
- [weMail incorrect authorization in REST API permission checks](https://junglewise.ai/threats/cve-2026-104647-the-wemail-wordpress-plugin-through-2-1-6-does-not-correctly)
