{"id":"CVE-2022-0218","published":"2022-02-04T22:29:24Z","modified":"2025-02-10T14:54:50Z","title":"WP HTML Mail <= 3.0.9 Missing Authorization on REST-API Route","vendor":"codemiq","product":"WP HTML Mail","tier":"core","eol":null,"affectedVersions":[{"vendor":"codemiq","product":"WP HTML Mail","versions":[">= 3.0.9, <= 3.0.9"]}],"solutions":{"items":["Update to version 3.1, or newer."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-10T14:54:46.692471Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The WP HTML Mail WordPress plugin (codemiq) contains a missing authorization flaw in the /themesettings REST-API endpoint, defined in includes/class-template-designer.php, affecting versions up to and including 3.0.9. An unauthenticated remote attacker over the network, requiring no user interaction, can retrieve and modify theme settings through this endpoint and inject malicious JavaScript into the affected WordPress site.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:18:47Z"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.66406,"percentile":0.993,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-01-13","exploitedFirstSeen":"2022-01-13","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/vulnerability/wp-html-mail/wordpress-wp-html-mail-plugin-3-0-9-unauthenticated-stored-cross-site-scripting-xss-vulnerability","date":"2022-01-13"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"WordPress WP HTML Mail Plugin Bug Leads to Code Injection and Distribution of Phishing Emails","url":"https://otx.alienvault.com/pulse/61ea8afa927d952b0d3fe88d","created":"2022-01-21"}],"provenance":"machine"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/","tags":["x_refsource_MISC"]},{"url":"https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-15420","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15420","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2022-0218","name":"HTML Email Template Designer < 3.1 - Missing Authorization on Rest Route","severity":"medium","path":"http/cves/2022/CVE-2022-0218.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0218.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-01-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/vulnerability/wp-html-mail/wordpress-wp-html-mail-plugin-3-0-9-unauthenticated-stored-cross-site-scripting-xss-vulnerability","provenance":"source"},{"date":"2022-02-04","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-0218","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":66.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1773 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.86,"detail":"percentile 0.9930"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":5.81,"detail":"base score 8.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}