id: CVE-2022-0218 info: name: HTML Email Template Designer < 3.1 - Stored Cross-Site Scripting author: hexcat severity: medium description: WordPress Email Template Designer WP HTML Mail allows stored cross-site scripting through an unprotected REST-API endpoint. reference: - https://www.wordfence.com/blog/2022/01/unauthenticated-xss-vulnerability-patched-in-html-email-template-designer-plugin/ - https://wordpress.org/plugins/wp-html-mail/ - https://nvd.nist.gov/vuln/detail/CVE-2022-0218 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-0218 cwe-id: CWE-79 tags: wordpress,wp-plugin,xss,cve,cve2022 requests: - method: GET path: - "{{BaseURL}}/index.php?rest_route=/whm/v3/themesettings" matchers-condition: and matchers: - type: word part: body words: - '"background":' - '"footer":' condition: and - type: word part: header words: - "application/json" - type: status status: - 200 # Enhanced by mp on 2022/02/28