CVE-2023-40577

Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint

Published Aug 25, 2023 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3609-1 prometheus-alertmanager security update
EUVD EUVD EUVD-2023-2358 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.
Github GHSA Github GHSA GHSA-v86x-5fm3-5p7j Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
Ubuntu USN Ubuntu USN USN-6935-1 Prometheus Alertmanager vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:08 PM
Reserved
Aug 16, 2023, 6:24 PM
Status
Modified
Published
Aug 25, 2023, 1:15 AM
Modified
Jun 17, 2026, 6:18 AM
Severity
Moderate
Public date
Aug 24, 2023, 12:00 AM