# CVE-2022-0218: WP HTML Mail <= 3.0.9 Missing Authorization on REST-API Route

- Severity: High 8.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 66.4%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-04T22:29:24.000Z
- Modified: 2026-06-17T04:20:10.397Z
- Weaknesses: CWE-79, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- codemiq WP HTML Mail: from 3.0.9 up to 3.0.9
- codemiq wordpress_email_template_designer: up to 3.0.9

## Every score

- Wordfence: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0218](https://www.cve.org/CVERecord?id=CVE-2022-0218), CVE Terms of Use, modified 2025-02-10
- NVD: [CVE-2022-0218](https://nvd.nist.gov/vuln/detail/CVE-2022-0218), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0218 · Whole record: https://cve.day/CVE-2022-0218.json · Rebuilt by cve.day 2026-11-25T22:58:09.497Z
