CVE-2026-66358 Overview
CVE-2026-66358 is a cross-site scripting (XSS) vulnerability in acmailer, a Japanese email delivery application. An attacker can inject and execute arbitrary script in the context of a victim's browser session. The flaw is classified under CWE-79, Improper Neutralization of Input During Web Page Generation. Exploitation requires user interaction, such as clicking a crafted link, and can be triggered over the network without authentication. The vulnerability affects confidentiality and integrity of content rendered in the subsequent browser context rather than the underlying host.
Critical Impact
Successful exploitation lets an attacker execute arbitrary script in a victim's browser, enabling session token theft, UI manipulation, and phishing pivots against acmailer administrators and users.
Affected Products
- acmailer (product versions not enumerated in the published advisory)
Discovery Timeline
- 2026-08-19 - CVE-2026-66358 published to NVD
- 2026-08-20 - Last updated in NVD database
Technical Details for CVE-2026-66358
Vulnerability Analysis
The vulnerability is a reflected or stored cross-site scripting flaw in acmailer. The application fails to properly neutralize user-supplied input before rendering it in HTML output. An attacker who convinces a user to interact with a crafted request can cause arbitrary JavaScript to run in the victim's browser under the acmailer origin.
Because acmailer is a mail delivery and campaign management tool, the affected sessions frequently belong to marketing administrators. Script execution in such a session can be leveraged to read the DOM, exfiltrate authenticated cookies, forge administrative actions, or stage secondary attacks against subscriber lists.
Root Cause
The root cause is missing or incomplete output encoding on one or more request parameters processed by acmailer CGI endpoints. Input flows into an HTML response context without HTML entity encoding, allowing <script> tags or event-handler attributes to break out of the intended data context. This is a classic [CWE-79] pattern where the trust boundary between untrusted input and generated markup is not enforced.
Attack Vector
The attack is delivered over the network and requires user interaction. A typical exploitation flow involves an attacker crafting a URL or form submission that embeds JavaScript in a vulnerable parameter, then delivering the link via email, chat, or a compromised page. When an authenticated acmailer user opens the link, the injected payload is reflected into the response and executed in the browser. Details are documented in the JVN Security Advisory and the ACM Email Security Alert.
No verified public proof-of-concept code is available at the time of publication. See the vendor advisory for technical specifics.
Detection Methods for CVE-2026-66358
Indicators of Compromise
- Web server access logs containing acmailer CGI requests with URL-encoded <script>, onerror=, onload=, or javascript: substrings in query or POST parameters.
- Outbound HTTP requests from administrator browsers to attacker-controlled domains immediately following an acmailer page load.
- Unexpected changes to acmailer campaign configurations, subscriber lists, or admin account settings without a corresponding legitimate login.
Detection Strategies
- Deploy a web application firewall (WAF) rule set that inspects acmailer request parameters for HTML tag and event-handler injection patterns.
- Correlate acmailer HTTP referer headers with unusual redirect chains that originate from external phishing lures.
- Alert on Content Security Policy (CSP) violation reports emitted by browsers loading acmailer pages, where inline scripts are blocked.
Monitoring Recommendations
- Enable verbose access logging on the acmailer CGI directory and forward logs to a centralized SIEM for parameter-level inspection.
- Baseline normal administrator workflows so anomalous form submissions or session token reuse from new IPs are flagged.
- Track user-agent and geolocation deltas on acmailer admin sessions to identify hijacked cookies used post-XSS.
How to Mitigate CVE-2026-66358
Immediate Actions Required
- Apply the fixed acmailer release referenced in the ACM Email Security Alert as soon as it is available.
- Restrict access to the acmailer administrative interface to trusted source IPs via network ACLs or reverse proxy rules.
- Force a password reset and session invalidation for all acmailer administrator accounts.
Patch Information
Refer to the vendor advisory published by acmailer at the ACM Email Security Alert page and the coordinated disclosure at the JVN Security Advisory. Both references identify the fixed version and provide upgrade instructions. Version numbers are not enumerated in the NVD record.
Workarounds
- Deploy a strict Content Security Policy that disallows inline scripts and untrusted script sources on acmailer pages.
- Place the acmailer interface behind a WAF configured with OWASP Core Rule Set XSS signatures until patching is complete.
- Train administrators to avoid clicking untrusted links while authenticated to acmailer and to use a dedicated browser profile for administrative work.
# Example nginx reverse proxy hardening for acmailer admin path
location /acmailer/ {
allow 203.0.113.0/24; # trusted admin network
deny all;
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; frame-ancestors 'none'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
proxy_pass http://acmailer_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

