{"id":"CVE-2023-40577","published":"2023-08-25T00:12:13Z","modified":"2025-02-13T17:08:34Z","title":"Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint","vendor":"prometheus","product":"alertmanager","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00634,"percentile":0.5133,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.27},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"prometheus","affectedVersions":[{"vendor":"prometheus","product":"alertmanager","versions":["<= 0.25.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-02T17:48:47.367609Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/prometheus/alertmanager","vulnerableRanges":["<0.25.1"],"patched":["0.25.1"],"from":["GHSA-v86x-5fm3-5p7j","GO-2023-2020"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in the web UI of Prometheus Alertmanager, where alert data submitted to the /api/v1/alerts endpoint is not properly neutralized before being rendered. An attacker who is permitted to send POST requests to that endpoint, with no user interaction required, could cause arbitrary JavaScript to execute in the browsers of users who view the Alertmanager interface.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:37Z"},"euvd":{"id":"EUVD-2023-2358","exploited":false,"provenance":"source"}}