Vulnerability · Published Jun 30, 2024 · Assigned by @huntr_ai

CVE-2024-5062Reflected XSS through survey redirect parameter in zenml-io/zenml

Medium 5.3

In plain English

A medium-severity cross-site scripting in zenml-io/zenml from zenml-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)5.3Medium
Exploit odds (30 days)0.4%top 66.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIzenml0.58.0GHSA-3434-hc3m-8mmm
PyPIzenml0.58.0PYSEC-2024-176

Affected products (as reported)

VendorProductVersions
zenml-io zenml-io/zenml unspecified – before 0.58.0

Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

References