Skip to content
On CISA KEVMedium

CVE-2022-0218WP HTML Mail XSS

The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings due to a missing capability check on the /themesettings REST-API endpoint found in the ~/includes/class-template-designer.php file,…

Published Feb 4, 2022 · Updated Feb 10, 2025 · Also known as 0a42449f-aef1-42b8-af58-4f4aab7008f3, WORDFENCE-0a42449f-aef1-42b8-af58-4f4aab7008f3

Key Facts

Patch immediately
  • CVE-2022-0218 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Wordpress Email Template Designer (Codemiq), WP HTML Mail (wordpress-plugin).
  • It is exploited in the wild, listed in Industry KEV feed since Jan 13, 2022. No public exploit code is known.
  • EPSS estimates a 66% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Wordpress Email Template Designer <=3.0.9, WP HTML Mail 3.1, Wordpress Email Template Designer 3.0.9.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

6.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS (30-day exploit likelihood)

66%

Higher than 99.2% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

53/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jan 13, 2022

-22 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Description

The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings due to a missing capability check on the /themesettings REST-API endpoint found in the ~/includes/class-template-designer.php file, in versions up to and including 3.0.9.

This makes it possible for attackers with no privileges to execute the endpoint and add malicious JavaScript to a vulnerable WordPress site.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedJan 13, 2022n/aNot reported

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
Wordpress Email Template DesignerCodemiqSee advisory3.0.9
WP HTML Mailwordpress-plugin>= 3.0.93.1

Patched Releases

Wordpress Email Template Designer

<=3.0.9

WP HTML Mail

3.1

Timeline

  1. Added to Industry KEV feed

    Jan 13, 2022

  2. Publicly disclosed

    Feb 4, 2022

  3. Last updated

    Feb 10, 2025

Weakness Type

  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-862 Missing Authorization

FAQ

Common Questions.

Is CVE-2022-0218 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.