BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2022-0218

MEDIUM 6.1 CVSS 3.1
Published
February 4, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79, CWE-862
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Affected WordPress components

  • Email Template Designer – WP HTML Mail Plugin · wp-html-mail
    Confirmed match Active
    From 3.0.9 (including) to 3.0.9 (including)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • codemiq WP HTML Mail — From 3.0.9 (including) to 3.0.9 (including)
  • codemiq wordpress_email_template_designer — Up to and including 3.0.9

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php Patch, Third Party Advisory
  • www.wordfence.com https://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/ Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record