CVE-2020-35774 json
TwitterServer Cross-site Scripting via /histograms endpoint
published 2020-12-29 5 y ago modified 2026-06-17 4 mo ago also GHSA-3mqv-8gxg-pfm4 , EUVD-2022-0794
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 85.6%
- EPSS 85.6% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Patch / fix
- maven com.twitter:twitter-server_2.12 20.12.0
- twitter twitter-server 20.12.0
Exploit prediction
85.65% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template twitter-server Cross-Site Scripting nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.twitter:twitter-server_2.12 | <20.12.0 |
20.12.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c
web, patch, third-party-advisory
-
github.com
/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0
web, patch, third-party-advisory
-
advisory.checkmarx.net
/advisory/CX-2020-4287
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35774
advisory
-
github.com
/twitter/twitter-server
package
Sources
- CVE List CVE-2020-35774
- GitHub Advisory GHSA-3mqv-8gxg-pfm4
- NVD CVE-2020-35774
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.