What’s Vulnerable › Vulnerabilities
CVE-2024-5062: Reflected XSS through survey redirect parameter in zenml-io/zenml
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-30 · updated 2026-06-17
- Weakness: CWE-79
Description
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 products
- zenml-io/zenml: before 0.58.0 — fixed in 0.58.0
How to fix
Upgrade to a fixed version: zenml-io/zenml 0.58.0. Check the vendor advisory for mitigations.
References
- https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
- https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
- https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
- https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
Get alerted when CVE-2024-5062 or the next vulnerability affects your stack