CVE-2022-0218
published 2022-02-04CVE-2022-0218: The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings due to a…
PriorityP181medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
70.51%
99.3th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| codemiq | wordpress_email_template_designer | <= 3.0.9 | — |
| codemiq | wp_html_mail | 3.0.9 – 3.0.9 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Unauthenticated GET request to the REST-API endpoint /index.php?rest_route=/whm/v3/themesettings; a 200 JSON response containing both '"background":' and '"footer":' fields in the body indicates a vulnerable WP HTML Mail installation.
- →The vulnerable REST-API endpoint /whm/v3/themesettings accepts both GET (read) and write (POST/PUT) requests with no authentication, enabling unauthenticated stored XSS via injected JavaScript in theme settings.
- →Monitor for unauthenticated requests to rest_route=/whm/v3/themesettings, especially POST/PUT methods that modify theme settings — these indicate active exploitation attempts.
- ·Vulnerability affects WP HTML Mail plugin versions up to and including 3.0.9; version 3.1 and later are patched. ↗
- ·The Nuclei template uses a GET-only probe to detect exposure; actual exploitation (stored XSS injection) requires a write operation to the same unprotected endpoint.
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vulncheck8.3HIGH
vendor_redhat7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6434-hpfm-8425: The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings du
ghsa_unreviewed·2022-02-10
CVE-2022-0218 [MEDIUM] CWE-79 GHSA-6434-hpfm-8425: The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings du
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.
VulnCheck
codemiq wordpress_email_template_designer Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
vulncheck·2022·CVSS 8.3
CVE-2022-0218 [HIGH] codemiq wordpress_email_template_designer Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
codemiq wordpress_email_template_designer Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
Affected: codemiq wordpress_email_template_designer
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
E
Red Hat
vim: Buffer Under-read
vendor_redhat·2022-08-17·CVSS 7.8
CVE-2022-2845 [HIGH] CWE-127 vim: Buffer Under-read
vim: Buffer Under-read
Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 7) - Out of support scope
Package: vim (Red Hat Enterprise Linux 8) - Fix deferred
Package: vim (Red Hat Enterprise Linux 9) - Fix deferred
No detection rules found.
Nuclei
HTML Email Template Designer < 3.1 - Stored Cross-Site Scripting
nuclei·CVSS 6.1
CVE-2022-0218 [MEDIUM] HTML Email Template Designer < 3.1 - Stored Cross-Site Scripting
HTML Email Template Designer < 3.1 - Stored Cross-Site Scripting
WordPress Email Template Designer WP HTML Mail allows stored cross-site scripting through an unprotected REST-API endpoint.
Template:
id: CVE-2022-0218
info:
name: HTML Email Template Designer < 3.1 - Stored Cross-Site Scripting
author: hexcat
severity: medium
description: WordPress Email Template Designer WP HTML Mail allows stored cross-site scripting through an unprotected REST-API endpoint.
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 vulne
No writeups or analysis indexed.
https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.phphttps://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.phphttps://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/
2022-02-04
Published
Exploited in the wild