{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-40577","id":"CVE-2023-40577","title":"Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint","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.","descriptionLong":"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.","published":"2023-08-25T00:12:13.045Z","updated":"2026-10-28T02:30:36.645784555Z","reserved":"2023-08-16T18:24:02.390Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"high","products":["prometheus alertmanager"],"affectedProducts":[{"vendor":"prometheus","product":"alertmanager","defaultStatus":null,"versions":[{"version":"<= 0.25.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/prometheus/alertmanager","purl":"pkg:golang/github.com/prometheus/alertmanager","ranges":["<0.25.1"],"fixed":["0.25.1"],"advisory":"GHSA-v86x-5fm3-5p7j"}],"cwes":["CWE-79"],"aliases":["BIT-alertmanager-2023-40577","GHSA-v86x-5fm3-5p7j","GO-2023-2020"],"references":[{"url":"https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40577.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40577","tags":["advisory"]},{"url":"https://github.com/prometheus/alertmanager","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00634,"epssPercentile":0.51188,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-40577","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40577","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-40577","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v86x-5fm3-5p7j","ok":true,"note":"GHSA-v86x-5fm3-5p7j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-40577","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}