# CVE-2020-35774: TwitterServer Cross-site Scripting via /histograms endpoint

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 85.6%, higher than 99% of CVEs (2026-12-01)
- Published: 2020-12-29T17:54:04.000Z
- Modified: 2026-06-17T03:14:16.197Z
- Also known as: GHSA-3mqv-8gxg-pfm4
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.twitter:twitter-server_2.12 (Maven): before 20.12.0
- twitter twitter-server: before 20.12.0

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c> (patch, third-party-advisory, web)
- <https://github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0> (patch, third-party-advisory, web)
- <https://advisory.checkmarx.net/advisory/CX-2020-4287> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35774> (advisory)
- <https://github.com/twitter/twitter-server> (package)

## Sources

- CVE List: [CVE-2020-35774](https://www.cve.org/CVERecord?id=CVE-2020-35774), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3mqv-8gxg-pfm4](https://github.com/advisories/GHSA-3mqv-8gxg-pfm4), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-35774](https://nvd.nist.gov/vuln/detail/CVE-2020-35774), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35774 · Whole record: https://cve.day/CVE-2020-35774.json · Rebuilt by cve.day 2026-11-25T22:57:56.520Z
