CVE-2023-40577
published high CVSS 3.1 · 7.5Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| prometheus | — | alertmanager<= 0.25.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| Debian | buster | prometheus-alertmanager | Advisory build | 0.15.3+ds-3+deb10u1 | DLA-3609-1 |
| SUSE / openSUSE | SLE-15-SP5 | golang-github-prometheus-alertmanageraarch64 | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| Ubuntu | bionic | golang-github-prometheus-alertmanager-dev | Advisory build | 0.6.2+ds-3ubuntu0.1+esm1 | USN-6935-1 |
| Alpine Linux | v3.19 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| Alpine Linux | v3.20 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| Alpine Linux | v3.21 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| Alpine Linux | v3.23 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| Alpine Linux | v3.24 | alertmanager | Fixed | 0.26.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP5 | golang-github-prometheus-alertmanagerppc64le | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | SLE-15-SP5 | golang-github-prometheus-alertmanagers390x | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | SLE-15-SP5 | golang-github-prometheus-alertmanagerx86_64 | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-prometheus-alertmanageraarch64 | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-prometheus-alertmanagerppc64le | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-prometheus-alertmanagers390x | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-prometheus-alertmanagerx86_64 | Advisory build | 0.26.0-150100.4.19.1 | SUSE-SU-2024:0512-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | golang-github-prometheus-alertmanageraarch64 | Advisory build | 0.26.0-4.1 | OPENSUSE-SU-2024:13599-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | golang-github-prometheus-alertmanagerppc64le | Advisory build | 0.26.0-4.1 | OPENSUSE-SU-2024:13599-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | golang-github-prometheus-alertmanagers390x | Advisory build | 0.26.0-4.1 | OPENSUSE-SU-2024:13599-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | golang-github-prometheus-alertmanagerx86_64 | Advisory build | 0.26.0-4.1 | OPENSUSE-SU-2024:13599-1 |
| Ubuntu | bionic | prometheus-alertmanager | Advisory build | 0.6.2+ds-3ubuntu0.1+esm1 | USN-6935-1 |
| Ubuntu | focal | golang-github-prometheus-alertmanager-dev | Advisory build | 0.15.3+ds-3ubuntu1.2 | USN-6935-1 |
| Ubuntu | focal | prometheus-alertmanager | Advisory build | 0.15.3+ds-3ubuntu1.2 | USN-6935-1 |
| Ubuntu | jammy | golang-github-prometheus-alertmanager-dev | Advisory build | 0.23.0-4ubuntu0.2+esm1 | USN-6935-1 |
| Ubuntu | jammy | prometheus-alertmanager | Advisory build | 0.23.0-4ubuntu0.2+esm1 | USN-6935-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| prometheus | alertmanager | <= 0.25.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3GitHub_M · cna
Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 469f2820777641649ff4eb7b4918359f7e38439fdeb1b68f8492b1746b76faaf
- Ingested
- 23 Sep 2026, 08:11:26 UTC
- Source record
- Official CVE record