Description
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
Remediation
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
Related Vulnerabilities
CVE-2018-14042 Vulnerability in maven package org.webjars.bower:bootstrap-sass
CVE-2020-15232 Vulnerability in maven package org.mapfish.print:print-lib
CVE-2021-21290 Vulnerability in maven package io.netty:netty-common
CVE-2023-26488 Vulnerability in npm package @openzeppelin/contracts-upgradeable
CVE-2021-35517 Vulnerability in maven package org.apache.commons:commons-compress