AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

ZenMLGHSA-3434-hc3m-8mmm

Reflected Cross-Site Scripting (XSS) in zenml

ZenML

CVE-2024-5062 · Published Jun 30, 2024 · updated Jan 21, 2025

Medium6.1
Fix: upgrade to 0.58.0 or later
GitHub advisory

A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. The vulnerability exists due to improper neutralization of input during web page generation, specifically within the survey redirect parameter. This flaw allows an attacker to redirect users to a specified URL after completing a survey, without proper validation of the 'redirect' parameter. Consequently, an attacker can execute arbitrary JavaScript code in the context of the user's browser session. This vulnerability could be exploited to steal cookies, potentially leading to account takeover.

Affected versions

PackageAffectedFixed in
zenml
PyPI
>= 0.57.1, < 0.58.00.58.0
Details and references

More ZenML advisories

All ZenML