ADVISORIES

Vulnerability

CVE-2023-40577

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

20 advisories report this vulnerability, across 8 ecosystems.

Advisories in Go

  • GHSA-v86x-5fm3-5p7j

    Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint

    Moderate CVE-2023-40577 Go Updated 10 September 2026
  • GO-2023-2020

    Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager

    CVE-2023-40577 Go Updated 4 February 2026

References