---
id: CVE-2023-7070
title: >-
  The Email Encoder – Protect Email Addresses and Phone Numbers plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's
  eeb_mailto shortcode in all versions up to, and including, 2.1.9 due to
  insufficient input s…
summary: >-
  The Email Encoder – Protect Email Addresses and Phone Numbers plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's
  eeb_mailto shortcode in all versions up to, and including, 2.1.9 due to
  insufficient input s…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
  - CWE-79
vendor: onlineoptimisation
product: email_encoder
affected:
  - email_encoder <= 2.1.9
published: '2024-01-11'
updated: '2026-07-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-7070'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/trunk/core/includes/classes/class-email-encoder-bundle-run.php#L518
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/trunk/core/includes/classes/class-email-encoder-bundle-run.php#L529
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3019206%40email-encoder-bundle&new=3019206%40email-encoder-bundle&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f5afe6ea-93b8-4782-8593-76468e370a45?source=cve
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/trunk/core/includes/classes/class-email-encoder-bundle-run.php#L518
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/trunk/core/includes/classes/class-email-encoder-bundle-run.php#L529
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3019206%40email-encoder-bundle&new=3019206%40email-encoder-bundle&sfp_email=&sfph_mail=
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f5afe6ea-93b8-4782-8593-76468e370a45?source=cve
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.004
epssPercentile: 0.34107
ingestedAt: '2026-07-22T13:03:40.189Z'
---

## Overview

The Email Encoder – Protect Email Addresses and Phone Numbers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's eeb_mailto shortcode in all versions up to, and including, 2.1.9 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Affected

- `email_encoder <= 2.1.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
