INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-5062

Reflected Cross-Site Scripting (XSS) in zenml

CVE-2024-5062 ยท 2024-06-30 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Cross-site scripting
Affected
zenml (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

An unvalidated redirect parameter is reflected into the survey page, letting a crafted link run script in a victim's session. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.