Skip to main content

Email Encoder WordPress Plugin CVE-2026-2840

| EUVDEUVD-2026-23229 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-16 Wordfence GHSA-6f47-h5cp-7cwm
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor WordPress credentials
  2. Delivery
    Craft malicious 'eeb_mailto' shortcode payload
  3. Exploit
    Submit poisoned post or page to WordPress
  4. Execution
    Victim (e.g., admin) visits injected page
  5. Persist
    Unsanitized script executes in victim browser
  6. Impact
    Session token stolen or privileged action performed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with at least contributor-level access - the attacker must be able to create or edit posts containing the 'eeb_mailto' shortcode. The 'Email Encoder - Protect Email Addresses and Phone Numbers' plugin must be installed and active. A victim (any user, including administrators) must then visit the page or post containing the injected shortcode for the script to execute in their browser. Exploitation is therefore bounded by: (1) attacker holds contributor credentials or higher, (2) the plugin is installed and the shortcode feature is in use, and (3) a victim navigates to the poisoned page. Sites with no contributor-level users or those that restrict shortcode permissions are not exploitable. SSVC automatable=no reflects that mass automated exploitation is impractical given the authentication prerequisite.

Impact

CVSS 3.1 scores this at 6.4 (Medium) with AV:N/AC:L/PR:L/UI:N/S:C - the scope change elevates the score by reflecting cross-user impact. However, the UI:N assignment is atypical for stored XSS, which canonically requires a victim to load the injected page (UI:R); this discrepancy should be verified. Real-world risk signals are subdued: EPSS at 0.03% places this in the 8th percentile of exploitation likelihood, CISA SSVC records exploitation status as 'none' and technical impact as 'partial', and no KEV listing or public PoC has been identified. The primary real-world threat comes from insider contributors or low-trust user bases (e.g., multi-author WordPress blogs) where a malicious or compromised contributor account can target administrators. On a tightly managed single-author site the risk is functionally negligible. The fix in 2.4.5 is confirmed via WordPress Trac changesets, making patch application straightforward.

Exploit ScenarioDerived

An attacker with a contributor-level WordPress account crafts a page containing the 'eeb_mailto' shortcode with a malicious JavaScript payload embedded in an unsanitized attribute, then submits it for publication. When a site administrator reviews or visits that page, the injected script executes in their browser, potentially stealing the admin session cookie or performing privileged actions on their behalf. No public exploit code has been identified at time of analysis, but the vulnerability class is well-understood and trivial to exploit manually.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Stored Cross-Site Scripting in the Email Encoder - Protect Email Addresses and Phone Numbers WordPress plugin (versions ≤ 2.4.4) allows authenticated contributors to inject persistent JavaScript via the 'eeb_mailto' shortcode due to missing sanitization in MailtoShortcode.php. When any user visits a page containing the poisoned shortcode, the injected script executes in their browser, enabling session hijack, credential theft, or admin account takeover. EPSS sits at 0.03% (8th percentile) and CISA SSVC records exploitation as none, placing current real-world risk low despite the scope-changed CVSS of 6.4.

RemediationAI

Upgrade the Email Encoder plugin to version 2.4.5 or later immediately; the patch is confirmed via WordPress Trac changesets (https://plugins.trac.wordpress.org/changeset comparing tags/2.4.4 to tags/2.4.5) and addresses insufficient sanitization in both MailtoShortcode.php and Encoding.php. For sites that cannot patch immediately, restrict contributor-level account creation and audit existing contributor accounts for unauthorized additions, as the attack requires that privilege level. Disabling the 'eeb_mailto' shortcode via a content security policy or a shortcode-blocking plugin removes the vulnerable attack surface without disabling the whole plugin, though this trades email obfuscation functionality. A strict Content-Security-Policy header disallowing inline scripts will limit the impact of any residual stored XSS payloads. The Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/9987b5b4-33d8-4446-acbe-58c6cb5604df) provides additional guidance.

Affected VersionsENISA

Email Encoder – Protect Email Addresses and Phone Numbers 0 ≤2.4.4

Affected Packages

euvd email_encoder_protect_email_addresses_and_phone_numbers no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is the 'email-encoder-bundle' WordPress plugin by onlineoptimisation (CPE: cpe:2.3:a:onlineoptimisation:email_encoder_-_protect_email_addresses_and_phone_numbers:*:*:*:*:*:*:*:*), designed to obfuscate email addresses and phone numbers from harvesting bots via shortcodes. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically in the 'eeb_mailto' shortcode handler - the MailtoShortcode.php and Encoding.php files in versions ≤ 2.4.4 failed to sanitize shortcode attributes before storage and failed to escape them on output. WordPress contributors have permission to insert shortcodes into posts and pages, making this attack surface reachable by low-privileged users. The CVSS scope change (S:C) reflects the browser-side impact extending beyond the WordPress installation itself to visiting users' security contexts.

Know when Email Encoder Protect Email Addresses And Phone Numbers gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS canonically requires victim page-load (UI:R); all other metrics align with the description - contributor auth (PR:L), network delivery (AV:N), cross-user scope change (S:C), no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Email Encoder - Protect Email Addresses and Phone Numbers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'eeb_mailto' shortcode in all versions up to, and including, 2.4.4 due to insufficient input sanitization and output escaping. 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
popular WordPress plugin category for email obfuscation, moderate install base
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy