Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Network-reachable shortcode but contributor account required (PR:L) and a victim must load the rendered page (UI:R); scope changes to victim browser with limited C/I impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
2DescriptionCVE.org
The Email JavaScript Cloak plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'email' shortcode in all versions up to, and including, 1.03 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Articles & Coverage 2
AnalysisAI
Stored cross-site scripting in the Email JavaScript Cloak WordPress plugin (versions ≤1.03) allows authenticated contributors and higher to inject arbitrary JavaScript via unsanitized attributes of the plugin's 'email' shortcode. The payload executes in any visitor's browser that renders the affected page, enabling session theft or site defacement. No public exploit identified at time of analysis, and the plugin is not listed in CISA KEV.
Technical ContextAI
The vulnerability resides in the email-javascript-cloaker plugin (CPE cgarvey:email_javascript_cloak), a small WordPress add-on that obfuscates email addresses using JavaScript to deter scrapers. The flaw is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) issue: the shortcode handler in email-js-cloak.php (referenced at lines 45 and 68 in the WordPress plugin trac) accepts user-controlled attributes and emits them into the rendered page without applying esc_attr(), wp_kses(), or comparable output-escaping primitives, so attacker-controlled markup is reflected into the DOM as live HTML.
RemediationAI
No vendor-released patch identified at time of analysis - version 1.03 remains the latest published release on the WordPress plugin repository. As compensating controls, deactivate and remove the Email JavaScript Cloak plugin (the email-cloaking functionality can be replaced with server-side address obfuscation or alternative maintained plugins, with the trade-off of changing how email links render); alternatively, restrict the contributor role from using the 'email' shortcode via a capability-management plugin or a WAF rule that strips or sanitizes the shortcode's attributes (this breaks legitimate use of the shortcode for those roles). Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/16ded5aa-c8e8-4d98-b07f-e689ad0e03c7?source=cve for a fixed version.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38657
GHSA-j79v-p5cw-7gp5