{"schema_version":"1.9.0","id":"BIT-alertmanager-2023-40577","published":"2024-11-08T19:09:34.789Z","modified":"2026-09-08T08:45:29.704117115Z","aliases":["CVE-2023-40577","GHSA-v86x-5fm3-5p7j","GO-2023-2020"],"summary":"Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint","details":"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.","affected":[{"package":{"name":"alertmanager","ecosystem":"Bitnami","purl":"pkg:bitnami/alertmanager"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.25.0"},{"fixed":"0.25.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/alertmanager/BIT-alertmanager-2023-40577.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j"},{"type":"DISCUSSION","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40577"}],"database_specific":{"cpes":["cpe:2.3:a:prometheus:alertmanager:0.25.0:*:*:*:*:*:*:*","cpe:2.3:a:prometheus:alertmanager:*:*:*:*:*:*:*:*"],"severity":"Medium"}}