CVE-2024-5062 json
Reflected XSS through survey redirect parameter in zenml-io/zenml
published 2024-06-30 2 y ago modified 2026-06-17 4 mo ago also GHSA-3434-hc3m-8mmm , PYSEC-2024-176 , EUVD-2024-0196
- cvss
- 5.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi zenml 0.58.0
- zenml-io zenml-io/zenml 0.58.0
- zenmlio zenml 0.58.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | zenml | >=0.57.1, <0.58.0 <0.58.0 |
0.58.0 |
Affected products
- zenml-io zenml-io/zenml
- zenmlio zenml
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4
web, patch
-
huntr.com
/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f
web, exploit, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-5062
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-176.yaml
web
-
github.com
/zenml-io/zenml
package
-
github.com
/advisories/GHSA-3434-hc3m-8mmm
advisory
Sources
- CVE List CVE-2024-5062
- GitHub Advisory GHSA-3434-hc3m-8mmm
- NVD CVE-2024-5062
- OSV PYSEC-2024-176
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.