GitHub Advisoryadvisory · PyPI
GHSA-3434-hc3m-8mmm Reflected Cross-Site Scripting (XSS) in zenml
MEDIUM
Official page ↗
- Aliases
- CVE-2024-5062
- Ecosystem
- PyPI
- Packages
- zenml
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-07-01
Affected packages
• PyPI zenml: >= 0.57.1, < 0.58.0 → fixed in 0.58.0
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.
Related
Alias · CVE (1)
- CVE-2024-5062 A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5062 advisory
- https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4 web
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-176.yaml web
- https://github.com/zenml-io/zenml package
- https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f web