Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zenml
  4. ›
  5. CVE-2024-5062

CVE-2024-5062: Reflected Cross-Site Scripting (XSS) in zenml

June 30, 2024 (updated January 21, 2025)

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.

References

  • github.com/advisories/GHSA-3434-hc3m-8mmm
  • github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-176.yaml
  • github.com/zenml-io/zenml
  • github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
  • huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
  • nvd.nist.gov/vuln/detail/CVE-2024-5062

Code Behaviors & Features

Detect and mitigate CVE-2024-5062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.57.1 before 0.58.0, version 0.57.1

Fixed versions

  • 0.58.0

Solution

Upgrade to version 0.58.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/zenml/CVE-2024-5062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.