Cross-site Scripting (XSS) Affecting alertmanager package, versions <0.26.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-ALERTMANAGER-8482486
  • published6 Dec 2024
  • disclosed25 Aug 2023

Introduced: 25 Aug 2023

CVE-2023-40577  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 alertmanager to version 0.26.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream alertmanager package and not the alertmanager package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Scores

version 3.1