CVE-2023-40577

Source
https://cve.org/CVERecord?id=CVE-2023-40577
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40577.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-40577
Aliases
Downstream
Related
Published
2023-08-25T00:12:13.045Z
Modified
2026-03-10T14:46:32.396168Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40577.json"
}
References

Affected packages

Git / github.com/prometheus/alertmanager

Affected ranges

Type
GIT
Repo
https://github.com/prometheus/alertmanager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.25.0"
        }
    ]
}

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.1.0
0.1.0-alpha
0.1.0-beta0
0.1.0-beta1
0.1.0-beta2
0.1.0beta2
0.1.1
0.2.0
0.2.1
v0.*
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.15.0-rc.0
v0.15.0-rc.1
v0.15.0-rc.2
v0.15.0-rc.3
v0.16.0-alpha.0
v0.17.0
v0.18.0-rc.0
v0.19.0-rc.0
v0.20.0
v0.20.0-rc.0
v0.21.0
v0.21.0-rc.0
v0.22.0
v0.22.0-rc.0
v0.22.0-rc.1
v0.22.0-rc.2
v0.22.1
v0.22.2
v0.23.0
v0.23.0-rc.0
v0.24.0
v0.24.0-rc.0
v0.25.0
v0.25.0-rc.0
v0.25.0-rc.1
v0.25.0-rc.2
v0.3.0
v0.5.0
v0.5.0-alpha.0
v0.5.0-beta.0
v0.5.1
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.7.0-rc.0
v0.7.1
v0.8.0
v0.9.0
v0.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40577.json"