WordPress security changelog
HIGH CVE-2022-0218 Modified

WP HTML Mail: A security weakness

WP HTML Mail is affected by a security weakness. The vulnerable path is reachable without authentication. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 8.3 CVSS 3.1 · security@wordfence.com
NVD score 6.1 CVSS 3.1 · nvd@nist.gov
Component
WP HTML Mail
Plugin slug
wordpress-email-template-designer
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Feb 04, 2022
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-862 — Missing Authorization

This CVE was published Feb 04, 2022 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update WP HTML Mail to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources