CVE-2024-5062
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-07-30 |
Timeline
- 2024-06-30Published by the CNA15:14 UTC
- 2024-06-30GitHub advisory published (GHSA-3434-hc3m-8mmm)same day
- 2024-07-30CISA SSVC decision recorded30 days after publication
Exploit and advisory records
GitHub advisory GHSA-3434-hc3m-8mmm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI zenml | from 0.57.1 before 0.58.0 | 0.58.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| zenml zenml | before 0.58.0fixed in 0.58.0 | 0.58.0 |
References
- https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
- https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-5062'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-5062'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-5062'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-5062'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).