CVE-2024-5062: Reflected Cross-Site Scripting (XSS) in zenml
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.
Published Jun 30, 2024 · Updated Jan 21, 2025
Affected packages
zenml
- Ecosystem
- PyPI
- Affected
- = 0.57.1
- Fixed in
- 0.58.0
- Check
pip show zenml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5062
- https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
- https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-176.yaml
- https://github.com/advisories/GHSA-3434-hc3m-8mmm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-8406
ZenML is vulnerable to Path Traversal through its `PathMaterializer` class
medium6.3Oct 5, 2025CVE-2024-9340
ZenML unauthenticated DoS via Multipart Boundry
high7.5Mar 20, 2025CVE-2024-4311
Missing ratelimit on passwrod resets in zenml
medium5.4Nov 14, 2024CVE-2024-4460
Improper line feed handling in zenml
medium4.3Jun 24, 2024CVE-2024-4680
zenml-io/zenml does not expire the session after password reset
low3.9No fixJun 8, 2024CVE-2024-2032
Race condition in zenml
low3.1Jun 6, 2024
