PyPI: zenml

CVE-2024-5062

Safety vulnerability ID: SFTY-20240630-20993

Safety legacy ID: pyup.io-72088

Zenml-io/zenml affected versions have a reflected Cross-Site Scripting (XSS) vulnerability. It 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 an account takeover.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Reflected Cross-Site Scripting (XSS) in zenml

Advisory

Zenml-io/zenml affected versions have a reflected Cross-Site Scripting (XSS) vulnerability. It 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 an account takeover.

Affected Package

Affecting zenml package, versions<0.58.0

Also affects

---

How to Fix

Upgradezenmlto0.58.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more