CVE-2020-35774
TwitterServer Cross-site Scripting via /histograms endpoint
Record summary
CVE-2020-35774 has a selected CVSS score of 5.4 (medium); EIP currently links 1 Nuclei template.
Description
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
com.twitter:twitter-server_2.12Browse Maven / com.twitter:twitter-server_2.12 | GitHub Advisory | Before 20.12.0 · Fixed in 20.12.0 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMtwitter-server Cross-Site ScriptingCVSS 5.4
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.
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.
Source: ProjectDiscovery