{"id":"CVE-2022-0218","aliases":["CVE-2022-0218"],"related":[],"kind":"vulnerability","state":"published","title":"WP HTML Mail <= 3.0.9 Missing Authorization on REST-API Route","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin WP HTML Mail de WordPress es vulnerable al acceso no autorizado que permite a atacantes no autenticados recuperar y modificar la configuración del tema debido a una comprobación de capacidad faltante en el endpoint /themesettings REST-API que es encontrado en el archivo ~/includes/class-template-designer.php, en versiones hasta 3.0.9 incluyéndola. Esto hace posible que atacantes no privilegiado ejecuten el endpoint y añadan JavaScript malicioso a un sitio WordPress vulnerable","source":"nvd"}],"published":"2022-02-04T22:29:24.000Z","modified":"2026-06-17T04:20:10.397Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":8.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-862"],"affected":[{"ranges":[{"type":"custom","introduced":"3.0.9","lastAffected":"3.0.9","status":"affected"}],"vendor":"codemiq","product":"WP HTML Mail","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"3.0.9"}],"vendor":"codemiq","product":"wordpress_email_template_designer","cpe":"cpe:2.3:a:codemiq:wordpress_email_template_designer:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Chloe Chamberland, Wordfence"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-02-10T14:54:46.692Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0218","url":"https://www.cve.org/CVERecord?id=CVE-2022-0218","licence":"CVE Terms of Use","modified":"2025-02-10T14:54:50.879Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0218","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0218","licence":"Public domain","modified":"2026-06-17T04:20:10.397Z"}],"updatedAt":"2026-11-25T22:58:09.497Z","epss":{"score":0.66406,"percentile":0.99294,"date":"2026-12-01T12:00:22.000Z"}}