CVE-2022-0218
MediumExploitedThe 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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jan 13, 2022 | n/a | Not 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| Product | Affected versions | Fixed in |
|---|---|---|
| Wordpress Email Template DesignerCodemiq | See advisory | 3.0.9 |
| WP HTML Mailwordpress-plugin | >= 3.0.9 | 3.1 |
Patched Releases
Wordpress Email Template Designer
<=3.0.9
WP HTML Mail
3.1
Timeline
Added to Industry KEV feed
Jan 13, 2022
Publicly disclosed
Feb 4, 2022
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
- advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/0a42449f-aef1-42b8-af58-4f4aab7008f3?source=api-prod
- advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/0a42449f-aef1-42b8-af58-4f4aab7008f3?source=api-scan
- patchhttps://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php
- exploitVulnCheck exploitation report
- exploithttps://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/
FAQ
Common Questions.
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.
Affected: Wordpress Email Template Designer (Codemiq); WP HTML Mail (wordpress-plugin) versions >= 3.0.9. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jan 13, 2022.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
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.
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