Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-5062 EUVD-2024-0196GHSA-3434-hc3m-8mmmPYSEC-2024-176

Reflected XSS through survey redirect parameter in zenml-io/zenml

Published Jun 30, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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

VendorProductAffectedFixed
zenml-io zenml-io/zenml unspecified – < 0.58.0 0.58.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI zenml >= 0.57.1, < 0.58.0 0.58.0 GHSA-3434-hc3m-8mmm
PyPI zenml < 0.58.0 0.58.0 PYSEC-2024-176

References