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-07-08T07:16:18.402373342Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40577.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/prometheus/alertmanager

Affected ranges

Type
GIT
Repo
https://github.com/prometheus/alertmanager
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ],
    "cpe": "cpe:2.3:a:prometheus:alertmanager:0.25.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.25.0"
        },
        {
            "introduced": "0.25.0"
        }
    ]
}

Affected versions

0.*
0.25.0
v0.*
v0.25.0

Database specific

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