---
id: CVE-2024-1282
title: >-
  The Email Encoder – Protect Email Addresses and Phone Numbers plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's
  shortcode(s) in all versions up to, and including, 2.2.0 due to insufficient
  input sanitizat…
summary: >-
  The Email Encoder – Protect Email Addresses and Phone Numbers plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's
  shortcode(s) in all versions up to, and including, 2.2.0 due to insufficient
  input sanitizat…
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.2.1
patched:
  - email_encoder 2.2.1
published: '2024-02-29'
updated: '2026-07-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-1282'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-helpers.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-run.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-validate.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3033889%40email-encoder-bundle%2Ftrunk&old=3020142%40email-encoder-bundle%2Ftrunk&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/78da1f88-2446-4ea5-9437-a118324ab6c2?source=cve
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-helpers.php
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-run.php
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/browser/email-encoder-bundle/tags/2.2.0/core/includes/classes/class-email-encoder-bundle-validate.php
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3033889%40email-encoder-bundle%2Ftrunk&old=3020142%40email-encoder-bundle%2Ftrunk&sfp_email=&sfph_mail=
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/78da1f88-2446-4ea5-9437-a118324ab6c2?source=cve
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00443
epssPercentile: 0.35747
ingestedAt: '2026-07-22T13:03:40.246Z'
---

## Overview

The Email Encoder – Protect Email Addresses and Phone Numbers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in all versions up to, and including, 2.2.0 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.2.1`

## Remediation

Upgrade past the affected range:

- `email_encoder 2.2.1`
