Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
cve-program · CVE-2023-40577
PublishedAlertmanager 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.
Read the publisher's advisoryeuvd · EUVD-2023-2358
PublishedAlertmanager 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.
Read the publisher's advisorynvd · CVE-2023-40577
PublishedAlertmanager 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.
Read the publisher's advisoryosv · GHSA-v86x-5fm3-5p7j
Published### Impact 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. ### Patches Users can upgrade to Alertmanager v0.2.51. ### Workarounds Users can setup a reverse proxy in front of the Alertmanager web server to forbid access to the /api/v1/alerts endpoint. ### References N/A
Read the publisher's advisoryosv · GO-2023-2020
PublishedAlertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-40577 · CVE overview and exploitation status
cve-program · CVE-2023-40577
- https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j
- https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html
euvd · EUVD-2023-2358
- https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j
- https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html
nvd · CVE-2023-40577
- https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j
- https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html
osv · GHSA-v86x-5fm3-5p7j
- https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j
- https://nvd.nist.gov/vuln/detail/CVE-2023-40577
- https://github.com/prometheus/alertmanager
- https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html