CVE-2020-35774
MediumTwitterServer Cross-site Scripting via /histograms endpoint
Published Feb 9, 2022 · Updated Jul 8, 2026 · Also known as GHSA-3mqv-8gxg-pfm4
Key Facts
Patch immediately- CVE-2020-35774 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting Twitter-Server, com.twitter:twitter-server_2.12 (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 86% probability of exploitation in the next 30 days.
- Fixed versions are available, including com.twitter:twitter-server_2.12 20.12.0, Twitter-Server 20.12.0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
86%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2020-35774 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Twitter-ServerTwitter | See advisory | 20.12.0 |
| com.twitter:twitter-server_2.12maven | See advisory | 20.12.0 |
Patched Releases
com.twitter:twitter-server_2.12
20.12.0
Twitter-Server
20.12.0
Timeline
Publicly disclosed
Feb 9, 2022
Last updated
Jul 8, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-35774
- articlehttps://advisory.checkmarx.net/advisory/CX-2020-4287
- articlehttps://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c
- articlehttps://github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0
FAQ
Common Questions.
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Affected: Twitter-Server; com.twitter:twitter-server_2.12 (maven). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including com.twitter:twitter-server_2.12 20.12.0, Twitter-Server 20.12.0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2020-35774 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo