cbcvebase.
CVE-2022-0218
published 2022-02-04

CVE-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
VendorProductVersion rangeFixed in
codemiqwordpress_email_template_designer<= 3.0.9
codemiqwp_html_mail3.0.9 – 3.0.9

Detection & IOCsextracted from sources · hover to see the quote

url/index.php?rest_route=/whm/v3/themesettings
path/whm/v3/themesettings
path~/includes/class-template-designer.php
  • 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.