XSS in Prometheus Alertmanager

CVE-2023-40577

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (43.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-40577?
CVE-2023-40577 is a high-severity vulnerability in Prometheus Alertmanager, classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2023-08-25.
How severe is CVE-2023-40577?
High severity. CVSS v3 base score is 7.5 out of 10.