
Cloud Vulnerability DB
A community-led vulnerabilities database
A Cross-Site Scripting (XSS) vulnerability was discovered in Twitter TwitterServer (CVE-2020-35774) before version 20.12.0. The vulnerability exists in the server/handler/HistogramQueryHandler.scala component, where in certain configurations, it allows XSS attacks via the /histograms endpoint (NVD, CVE).
The vulnerability stems from improper neutralization of user input in the HistogramQueryHandler component. When displaying error messages about invalid histogram queries, the application directly incorporated user-supplied query parameters into the output without proper HTML escaping. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.4 (MEDIUM) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).
The vulnerability allows attackers to inject malicious scripts through the /histograms endpoint. When successful, this could lead to execution of arbitrary web scripts in the context of other users' browsers who access the affected endpoint (NVD).
The vulnerability requires an attacker to have low privileges and user interaction for successful exploitation. The attack complexity is low, but it requires the victim to interact with a malicious payload (NVD).
The vulnerability was fixed in TwitterServer version 20.12.0 by implementing proper HTML escaping of user-provided strings in the returned text. The fix specifically modifies the HistogramQueryHandler to escape user input using the escapeHtml function (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."