CVE-2022-0218 WP HTML Mail <= 3.0.9 Missing Authorization on REST-API Route
Unauthenticated attackers can access a REST API endpoint to retrieve and modify theme settings, potentially injecting malicious JavaScript.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-0218?
CVE-2022-0218 is a high-severity missing authorization vulnerability in codemiq WP HTML Mail, published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-0218?
It affects 1 product.
Products include Codemiq Wordpress Email Template Designer.
How do I fix CVE-2022-0218?
No fix has been published for CVE-2022-0218 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-0218 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0218 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in codemiq WP HTML Mail
Sources
Also known as GHSA-6434-hpfm-8425.