CVE-2023-40577

    Dashboard / Vulnerabilities / CVE-2023-40577

    CVE-2023-40577

    Published: 25 Aug 2023Last Modified: 12 Aug 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 258fab7cdd551f2cf251ed0348f0ad7289aee789
    Fixed -None

    Affected versions

    0.25.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-40577 | CVE-DB