{"id":"BIT-alertmanager-2023-40577","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.","aliases":["CVE-2023-40577","GHSA-v86x-5fm3-5p7j","GO-2023-2020"],"modified":"2025-05-20T10:02:07.006Z","published":"2024-11-08T19:09:34.789Z","database_specific":{"cpes":["cpe:2.3:a:prometheus:alertmanager:0.25.0:*:*:*:*:*:*:*","cpe:2.3:a:prometheus:alertmanager:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40577"}],"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"}]}],"schema_version":"1.7.3"}