CVE-2020-35774
TwitterServer Cross-site Scripting via /histograms endpoint
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.4
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
CVE-2020-35774- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
CVE-2020-35774- Updated
- 2026-11-02
EUVDEUVD-2022-0794 No score
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
EUVD-2022-0794- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3mqv-8gxg-pfm4
6.1
TwitterServer Cross-site Scripting via /histograms endpoint
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
GHSA-3mqv-8gxg-pfm4- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.4
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
CVE-2020-35774- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-3mqv-8gxg-pfm4
6.1
TwitterServer Cross-site Scripting via /histograms endpoint
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
- Record
GHSA-3mqv-8gxg-pfm4- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
com.twitter:twitter-server_2.12Maven |
before 20.12.0 | 20.12.0 |
com.twitter:twitter-server_2.12Maven |
before 20.12.0, plus listed versions 1.26.01.27.01.28.01.29.01.30.0 Show 42 moreShow less1.31.01.32.017.10.017.11.017.12.018.1.018.10.018.11.018.12.018.2.018.3.018.4.018.5.018.6.018.7.018.8.018.9.018.9.119.1.019.10.019.11.019.12.019.2.019.3.019.4.019.5.019.5.119.6.019.7.019.8.019.9.020.1.020.10.020.3.020.4.020.4.120.5.020.6.020.7.020.8.020.8.120.9.0 |
20.12.0 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | twitter-server Cross-Site Scripting |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35774 is a medium vulnerability (CVSS 5.4) in Twitter Twitter-server, published December 29, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 85.6%, the 99th percentile. Fixed in com.twitter:twitter-server_2.12 20.12.0.
References
github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c
github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0
advisory.checkmarx.net/advisory/CX-2020-4287
nvd.nist.gov/vuln/detail/CVE-2020-35774
github.com/advisories/GHSA-3mqv-8gxg-pfm4
github.com/twitter/twitter-server