GO-2026-5662

Source
https://pkg.go.dev/vuln/GO-2026-5662
Import Source
https://vuln.go.dev/ID/GO-2026-5662.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5662
Aliases
Published
2026-06-25T22:34:38Z
Modified
2026-06-25T23:11:46.766856365Z
Summary
Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer in github.com/prometheus/prometheus
Details

Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer in github.com/prometheus/prometheus.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: .

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5662",
    "review_status": "UNREVIEWED"
}
References

Affected packages

Go / github.com/prometheus/prometheus

Package

Name
github.com/prometheus/prometheus
View open source insights on deps.dev
Purl
pkg:golang/github.com/prometheus/prometheus

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "custom_ranges": [
        {
            "type": "ECOSYSTEM",
            "events": [
                {
                    "introduced": "3.6.0"
                }
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5662.json"

Go / github.com/prometheus/prometheus

Package

Name
github.com/prometheus/prometheus
View open source insights on deps.dev
Purl
pkg:golang/github.com/prometheus/prometheus

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "custom_ranges": [
        {
            "type": "ECOSYSTEM",
            "events": [
                {
                    "introduced": "3.0.0"
                }
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5662.json"

Go / github.com/prometheus/prometheus

Package

Name
github.com/prometheus/prometheus
View open source insights on deps.dev
Purl
pkg:golang/github.com/prometheus/prometheus

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.311.2-0.20260410083055-07c6232d159b

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5662.json"