GHSA-v86x-5fm3-5p7j

    Dashboard / Vulnerabilities / GHSA-v86x-5fm3-5p7j

    GHSA-v86x-5fm3-5p7j

    Published: 23 Aug 2023Last Modified: 10 Sept 2026

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

    Details: ### Impact 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. ### Patches Users can upgrade to Alertmanager v0.2.51. ### Workarounds Users can setup a reverse proxy in front of the Alertmanager web server to forbid access to the /api/v1/alerts endpoint. ### References N/A

    Affected packages

    Package

    Name: github.com/prometheus/alertmanager

    Purl: pkg:golang/github.com/prometheus/alertmanager

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.25.1

    Affected versions

    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
    GHSA-v86x-5fm3-5p7j | CVE-DB