CVE-2024-5062: Reflected XSS through survey redirect parameter in zenml-io/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. 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/zenmlto a version that resolves this vulnerability.Fixed in 0.58.0
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5062?
CVE-2024-5062 has a high severity rating due to its potential for reflected Cross-Site Scripting attacks.
How do I fix CVE-2024-5062?
To fix CVE-2024-5062, upgrade the zenml package to version 0.58.0 or later.
What is the impact of CVE-2024-5062?
The impact of CVE-2024-5062 allows attackers to execute arbitrary scripts in the context of the user's browser.
Which versions of zenml are affected by CVE-2024-5062?
CVE-2024-5062 affects zenml version 0.57.1 specifically.
What type of vulnerability is CVE-2024-5062?
CVE-2024-5062 is classified as a reflected Cross-Site Scripting (XSS) vulnerability.