NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

TwitterServer Cross-site Scripting via /histograms endpointGHSA-3mqv-8gxg-pfm4

MEDIUMFix: twitter/twitter-server@e0aeb87

GHSA-3mqv-8gxg-pfm4 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in com.twitter:twitter-server_2.12. EPSS puts its 30-day exploitation probability at 85.6% (100th percentile). A fix is available for com.twitter:twitter-server_2.12 — see the affected versions and patch details below.

Also known asCVE-2020-35774
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
85.6%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
80.2%83.3%86.3%89.3%81.9%85.6%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕com.twitter:twitter-server_2.12

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.twitter:twitter-server_2.12all versions20.12.0com.twitter:twitter-server_2.12:20.12.0

Affected Products

1 product · 1 configurations
Application
twitter-servertwitter
< 20.12.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.twitter:twitter-server_2.12, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.twitter:twitter-server_2.12 to 20.12.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3mqv-8gxg-pfm4 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

How to detect GHSA-3mqv-8gxg-pfm4

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id ghsa-3mqv-8gxg-pfm4 -u https://target
Template
twitter-server Cross-Site Scripting
Severity
medium
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, data theft, or defacement.
Remediation
Apply the latest security patches or updates provided by Twitter to mitigate the XSS vulnerability.

Template by ProjectDiscovery nuclei-templates (pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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

Is GHSA-3mqv-8gxg-pfm4 in your dependencies?

Find it across Maven, including transitive dependencies.

TwitterServer Cross-site Scripting via /histograms endpoint