Fix stored XSS via unescaped metric names and labels in web UI
This release patches a stored XSS vulnerability (CVE-2026-40179) that could be triggered through crafted metric names and label values in the Prometheus web UI tooltips and metrics explorer. Additionally, regex performance is improved by removing unnecessary Simplify calls.
This release has a fix for a Stored XSS vulnerability that can be triggered via crafted metric names and label values in Prometheus web UI tooltips and metrics explorer. Thanks to Duc Anh Nguyen from TinyxLab for reporting it.
- [SECURITY] UI: Fix stored XSS via unescaped metric names and labels. CVE-2026-40179. #18507
- [PERF] Regex: Stop calling Simplify. #17908
Source: original entry ↗
More from Prometheus
Follow Prometheus to get its new changes in your feed and email digest.
Release v0.313.4
Version 0.313.4 of Prometheus has been released with bug fixes and improvements.
Prometheus v3.13.4
Release of Prometheus version 3.13.4 with bug fixes and improvements.
Release v0.315.0
Version 0.315.0 of Prometheus has been released with updates and improvements.