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.
https://lists.debian.org/debian-lts-announce/2023/10/msg00011.html
https://github.com/prometheus/alertmanager/security/advisories/GHSA-v86x-5fm3-5p7j