Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Contributor auth required (PR:L), admin must view content (UI:R), scope changes to admin session (S:C); no server-side availability impact justifies A:N over the source data's A:L.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in MailOptin <= 1.2.78.0 versions.
AnalysisAI
Stored Cross-Site Scripting in MailOptin WordPress plugin (versions ≤ 1.2.78.0) allows Contributor-level authenticated users to inject malicious JavaScript payloads that execute in the browser context of higher-privileged users - typically site administrators - when they view the affected content. The CVSS scope change (S:C) confirms the injected script escapes the contributor's own context, making this an effective privilege escalation vector in multi-author WordPress environments. No public exploit code or active exploitation has been identified at time of analysis.
Technical ContextAI
MailOptin is a WordPress plugin developed by properfraction, used for email opt-in forms, lead generation, and marketing automation. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as insufficient sanitization or escaping of Contributor-supplied input before it is rendered in an HTML context. The CPE string cpe:2.3:a:properfraction:mailoptin:*:*:*:*:*:*:*:* indicates all mainline releases through 1.2.78.0 are affected without version-range exclusions. In WordPress's role hierarchy, the Contributor role can draft and submit posts but cannot publish - however, this vulnerability demonstrates that content awaiting administrator review can carry executable payloads, exploiting the review workflow itself as a delivery mechanism.
RemediationAI
Update MailOptin to a version above 1.2.78.0. The exact patched release version is not independently confirmed from the available intelligence data - verify the current safe version via the WordPress plugin repository or the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/mailoptin/vulnerability/wordpress-mailoptin-plugin-1-2-78-0-cross-site-scripting-xss-vulnerability before deploying. As an interim compensating control, audit all accounts holding the Contributor role and revoke access from any untrusted or unnecessary users; this directly eliminates the PR:L attack prerequisite. Disabling contributor-level content submission workflows entirely removes the injection surface at the cost of losing that authoring capability. Implementing a strict Content Security Policy (CSP) header with script-src restricted to known safe origins can limit the execution impact of any residual XSS, though CSP is a defense-in-depth measure and not a substitute for patching.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53907
GHSA-7h59-5f8r-wcwf