nuclei-templates/http/cves/2022/CVE-2022-0218.yaml

52 lines
1.8 KiB
YAML

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.
remediation: |
Update to version 3.1 or later of the HTML Email Template Designer plugin to fix the vulnerability.
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
- https://plugins.trac.wordpress.org/changeset/2656984/wp-html-mail/trunk/includes/class-template-designer.php
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
epss-score: 0.03872
epss-percentile: 0.90979
cpe: cpe:2.3:a:codemiq:wordpress_email_template_designer:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: codemiq
product: wordpress_email_template_designer
framework: wordpress
tags: wordpress,wp-plugin,xss,cve,cve2022
http:
- 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
# digest: 490a004630440220469be82eabdae53ee297172a779c5b23456ccb79247467d517ad31b4d4f8377e02203db6a2912220c72bfe77fef42535d7a4c1e97c98e56c65071bc863c76c9a2f3e:922c64590222798bb761d5b6d8e72950