{"cve":"CVE-2023-40577","nvd":{"published":"2023-08-25T01:15:09.177","modified":"2026-06-17T06:18:32.830","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j","https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html","https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j","https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html"],"products":["debian:debian_linux","prometheus:alertmanager"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40577","score":0.00634,"percentile":0.50395,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v86x-5fm3-5p7j","url":"https://osv.dev/vulnerability/GHSA-v86x-5fm3-5p7j","summary":"Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint","modified":"2026-09-10T03:49:57.764922277Z","packages":[{"ecosystem":"Go","name":"github.com/prometheus/alertmanager","purl":"pkg:golang/github.com/prometheus/alertmanager","ranges":["<0.25.1"],"fixed":["0.25.1"]}]},{"id":"GO-2023-2020","url":"https://osv.dev/vulnerability/GO-2023-2020","summary":"Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager","modified":"2026-02-04T04:38:46.106833Z","packages":[{"ecosystem":"Go","name":"github.com/prometheus/alertmanager","purl":"pkg:golang/github.com/prometheus/alertmanager","ranges":["<0.25.1"],"fixed":["0.25.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}