Skip to content
Vulnerability Intelligence

CVE-2022-0218

MediumExploited

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

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.

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

Exploited in the wild

Yes

1 catalog listing

Public exploit code

None known

Get the full CVE-2022-0218 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

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 ('Cross-site Scripting')
  • CWE-862 Missing Authorization

References

FAQ

Common Questions.

Is CVE-2022-0218 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo