CVE-2022-0218
WP HTML Mail <= 3.0.9 Missing Authorization on REST-API Route
Record summary
CVE-2022-0218 has a selected CVSS score of 8.3 (high); EIP currently links 1 Nuclei template.
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.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Jan 13, 2022 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Feb 10, 2025 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
WP HTML MailBrowse codemiq / WP HTML Mail | CVE List | 3.0.9 to ≤ 3.0.9 | affected |
wordpress_email_template_designerBrowse codemiq / wordpress_email_template_designer | VulnCheck | Version data not supplied | |
Nuclei templates
1ProjectDiscoveryMEDIUMHTML Email Template Designer < 3.1 - Missing Authorization on Rest RouteCVSS 6.1
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.
Impact
An attacker can exploit this vulnerability to inject malicious scripts into the subject field of an email template, potentially leading to unauthorized access, data theft, or further compromise of the affected system.
Remediation
Update to version 3.1 or later of the HTML Email Template Designer plugin to fix the vulnerability.
Source: ProjectDiscovery