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.
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.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240630-20993/CVE-2024-5062
- 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
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
