WaratekVRT Sign in

CVE-2020-35774 twitter-server

Affected softwaretwitter-server
Severity5.4 Medium CVSS 3.1 2 scores
Fixed in20.12.0
WeaknessCross-site scripting (CWE-79)
Published29 Dec 2020
Updated17 Jun 2026

Description

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

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 86% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.7% of all scored CVEs.
IndexArtifactStarsFirst seen
Nuclei twitter-server Cross-Site Scripting

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (commit tier): https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c : a commit: the change itself

CVSS

5.4 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 Primary published
CVSS 2.0 3.5 none AV:N/AC:M/Au:S/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.twitter:twitter-server_2.12 0 20.12.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.twitter twitter-server_2.12 generic < 20.12.0
nvd twitter twitter-server generic < 20.12.0

References

URLTags
https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c commit
https://advisory.checkmarx.net/advisory/CX-2020-4287 WEB
https://github.com/twitter/twitter-server PACKAGE
https://github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0 WEB

Timeline

Published2020-12-29By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.