CVE-2024-5062
JSON

5.3medium

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

Severity
5.3medium CVSS:3.0 by @huntr_ai
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-3434-hc3m-8mmmPYSEC-2024-176

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

Product or packageVersionsReported by
zenml-io zenml-io/zenmlfrom unspecified before 0.58.0CVE List
zenmlio zenmlbefore 0.58.0CVE List
zenml (PyPI)from 0.57.1 before 0.58.0, before 21edd863c0ba53c1110b6f018a07c2d6853cf6d4, before 0.58.0GitHub Advisory Database, PyPA Advisory Database
zenml zenmlbefore 0.58.0NVD

All scores

@huntr_ai5.3medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se identificó una vulnerabilidad de Cross-Site Scripting (XSS) Reflejado en zenml-io/zenml versión 0.57.1. La vulnerabilidad existe debido a una neutralización inadecuada de la entrada durante la generación de la página web, específicamente dentro del parámetro de redireccionamiento de la encuesta. Esta falla permite a un atacante redirigir a los usuarios a una URL específica después de completar una encuesta, sin una validación adecuada del parámetro "redirect". En consecuencia, un atacante puede ejecutar código JavaScript arbitrario en el contexto de la sesión del navegador del usuario. Esta vulnerabilidad podría aprovecharse para robar cookies, lo que podría llevar a la apropiación de cuentas.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-5062 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-3434-hc3m-8mmm changed 2025-01-21CC-BY-4.0
NVDCVE-2024-5062 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-176 changed 2026-06-10CC-BY-4.0