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
Advisories And Exploit 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
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 |
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
- CWE-862 Missing Authorization
References
- advisorywordfence.com · 0a42449f-aef1-42b8-af58-4f4aab7008f3
- advisorywordfence.com · 0a42449f-aef1-42b8-af58-4f4aab7008f3
- patchplugins.trac.wordpress.org · class-template-designer.php
- exploitVulnCheck exploitation report
- exploitwordfence.com · unauthenticated-xss-vulnerability-patched-in-ht…
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 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