Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-96566 Overview
CVE-2026-96566 is a Stored Cross-Site Scripting (XSS) vulnerability in The Newsletter – Send awesome emails from WordPress plugin. All versions up to and including 9.4.0 are affected. The flaw originates in the np1 custom field parameter, which lacks sufficient input sanitization and output escaping [CWE-79].
The subscription endpoint (na=sa) requires no nonce, no capability check, and no CAPTCHA. Attackers can smuggle payloads past email-address validation by embedding the {profile_1} placeholder in the local part of the submitted address, since WordPress's is_email() permits curly braces there.
Critical Impact
Unauthenticated attackers can inject arbitrary JavaScript that executes in any visitor's browser when they access an injected page, enabling session theft and site compromise.
Affected Products
- The Newsletter – Send awesome emails from WordPress plugin for WordPress
- All versions up to and including 9.4.0
- WordPress sites exposing the subscription endpoint na=sa
Discovery Timeline
- 2026-10-02 - CVE-2026-96566 published to NVD
- 2026-10-03 - Last updated in NVD database
Technical Details for CVE-2026-96566
Vulnerability Analysis
The Newsletter plugin exposes a subscription action handler reachable through the na=sa request parameter. This endpoint accepts arbitrary custom fields, including np1, without applying sufficient sanitization or output escaping. Values submitted through np1 are later rendered in pages served to end users, allowing attacker-controlled markup to execute in the browser context of any visitor.
Two compounding weaknesses make exploitation trivial. First, the subscription endpoint omits nonce verification, capability checks, and CAPTCHA protection, so any unauthenticated client can submit the field. Second, the attack payload can be smuggled past email validation by embedding the {profile_1} placeholder inside the local part of the email address. WordPress's is_email() function accepts curly braces in that position, bypassing the apparent address check.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. The plugin stores values from the np1 custom field and renders them in HTML output without context-appropriate escaping. The authentication-free subscription endpoint makes this reachable by any remote actor.
Attack Vector
Exploitation requires only a network-reachable WordPress instance running a vulnerable plugin version. The attacker submits a crafted POST request to the subscription endpoint with the na=sa action, a specially formed email containing the {profile_1} placeholder in its local part, and a malicious payload in np1. When any user later loads a page that renders the injected field, the script executes with the site's origin. Technical details are referenced in the Wordfence Vulnerability Report and the WordPress Newsletter Changeset.
Detection Methods for CVE-2026-96566
Indicators of Compromise
- POST requests to the subscription endpoint containing na=sa with np1 values that include <script>, onerror=, onload=, or encoded JavaScript URIs.
- Email address values submitted to the subscription endpoint containing curly braces in the local part, particularly {profile_1}.
- Newsletter subscriber records whose stored custom field np1 contains HTML tags or JavaScript event handlers.
- Unexpected outbound requests from visitor browsers to attacker-controlled domains after loading pages that render newsletter profile fields.
Detection Strategies
- Review web server access logs for subscription POST requests with suspicious np1 parameter content and anomalous email formats.
- Query the WordPress database for stored subscriber profile values containing HTML markup or script tokens.
- Deploy a web application firewall rule that inspects np1 field submissions for XSS patterns.
Monitoring Recommendations
- Monitor the Newsletter plugin version across all WordPress hosts and alert on versions 9.4.0 and earlier.
- Track Content Security Policy (CSP) violation reports for inline script execution on pages that render newsletter profile data.
- Alert on administrator sessions originating from anomalous IPs shortly after visits to pages containing injected fields.
How to Mitigate CVE-2026-96566
Immediate Actions Required
- Update the Newsletter plugin to a version later than 9.4.0 that contains the fix referenced in the vendor changeset.
- Audit existing subscriber records for np1 values containing HTML or scripting payloads and sanitize or delete affected entries.
- Rotate credentials for any administrator who accessed pages rendering newsletter profile data while the vulnerable version was installed.
Patch Information
The vendor committed a fix tracked in the WordPress Newsletter Changeset. Site operators should upgrade to the patched release through the WordPress plugin updater. Source references for the vulnerable code paths include the WordPress Newsletter Subscription File and the WordPress Newsletter Profile File.
Workarounds
- Restrict access to the subscription endpoint na=sa through a WAF rule until the plugin can be upgraded.
- Deploy a strict Content Security Policy that disallows inline scripts to limit XSS payload execution.
- Temporarily disable the Newsletter plugin on sites that cannot be patched promptly.
# Example WAF rule to block np1 payloads containing script tokens
SecRule ARGS:np1 "@rx (?i)(<script|onerror=|onload=|javascript:)" \
"id:1026966,phase:2,deny,status:403,msg:'CVE-2026-96566 Newsletter np1 XSS attempt'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

