CVE-2024-5062
Reflected Cross-Site Scripting (XSS) in zenml
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.
How to fix CVE-2024-5062
To remediate CVE-2024-5062, upgrade the affected package to a fixed version below.
- —upgrade to 0.58.0 or later
- —upgrade to 21edd863c0ba53c1110b6f018a07c2d6853cf6d4 or later
Is CVE-2024-5062 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.57.1, < 0.58.0
- from 0, < 21edd863c0ba53c1110b6f018a07c2d6853cf6d4, < 21edd863c0ba53c1110b6f018a07c2d6853cf6d4 | from 0, < 0.58.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |