Advisory

GHSA-3434-hc3m-8mmm

Also known as: CVE-2024-5062, PYSEC-2024-176

Summary

Reflected Cross-Site Scripting (XSS) in zenml

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-30 18:30 UTC
Modified
2025-01-21 18:27 UTC

Affected packages and fixes

zenml

PyPI · All systems

Affected

  • introduced 0.57.1, fixed 0.58.0 (ecosystem)

Fixed versions

0.58.0

Fix

  • Fixed version 0.58.0
    pip install --upgrade zenml==0.58.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences