VDB
Sign up
MEDIUM6.8

GHSA-cqp7-wf4c-3xgc

Grafana has a Cross-site Scripting issue

Quick fix

GHSA-cqp7-wf4c-3xgc — github.com/grafana/grafana: upgrade to the fixed version with the command below.

go get github.com/grafana/grafana@v12.2.5

Details

Stack traces in Grafana's Explore Traces view can be rendered as raw HTML, and thus inject malicious JavaScript in the browser. This would require malicious JavaScript to be entered into the stack trace field.

Only datasources with the Jaeger HTTP API appear to be affected; Jaeger gRPC and Tempo do not appear affected whatsoever.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/grafana/grafana
Introduced in: 12.2.0Fixed in: 12.2.5
Fixgo get github.com/grafana/grafana@v12.2.5
Go/github.com/grafana/grafana
Introduced in: 12.3.0Fixed in: 12.3.3
Fixgo get github.com/grafana/grafana@v12.3.3

References