Reflected XSS through survey redirect parameter in zenml-io/zenml
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5062
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:17 UTC · Revision 1
Source evidence
Reflected XSS through survey redirect parameter in zenml-io/zenml
core-osv · Original sourcePublished 30 Jun 2024, 15:14 UTC
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.
osv:CVE-2024-5062
Complete source record
{
"id": "0d77853cde4e4644c57328c5dd26570932db688a119436f63a832192b9b0deda",
"url": "https://osv.dev/vulnerability/CVE-2024-5062",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Reflected XSS through survey redirect parameter in zenml-io/zenml",
"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.",
"evidence": "osv:CVE-2024-5062",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-5062",
"aliases": [
"CVE-2024-5062",
"GHSA-3434-hc3m-8mmm",
"PYSEC-2024-176"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zenml-io/zenml",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "21edd863c0ba53c1110b6f018a07c2d6853cf6d4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.58.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"range": [
{
"fixed": "21edd863c0ba53c1110b6f018a07c2d6853cf6d4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"cpe": "cpe:2.3:a:zenml:zenml:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.58.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.57.1",
"0.57.0",
"0.57.0rc2",
"0.57.0rc1",
"0.56.4",
"0.56.2",
"0.56.1",
"0.56.0",
"0.55.5",
"0.55.4",
"0.54.1",
"0.54.0",
"0.47.0",
"0.46.1",
"0.45.6",
"0.45.5",
"0.45.4",
"0.45.3",
"0.45.2",
"0.45.1",
"0.44.3",
"0.45.0",
"0.13.1",
"0.21.1",
"0.32.1",
"0.35.0",
"0.39.1",
"0.44.2",
"0.42.0",
"0.41.0",
"0.44.1",
"0.44.0",
"0.43.0",
"0.39.0",
"0.40.0",
"0.40.2",
"0.40.1",
"0.38.0",
"0.37.0",
"0.36.1",
"0.35.1",
"0.34.0",
"0.33.0",
"0.32.0",
"0.31.1",
"0.31.0",
"0.30.0",
"0.23.0",
"0.22.0",
"0.21.0",
"0.20.5",
"0.20.3",
"0.13.2",
"0.13.0",
"0.12.0",
"0.11.0",
"0.10.0",
"0.9.0",
"0.8.1",
"0.8.1rc0",
"0.7.1",
"0.7.0",
"0.6.3",
"0.6.2",
"0.5.7",
"0.5.6",
"0.5.5",
"0.5.4",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0",
"0.5.0rc2",
"0.5.0rc1",
"0.3.9rc2",
"0.3.9rc1",
"0.3.8",
"0.3.7.1rc5",
"0.3.7.1rc4",
"0.3.7.1rc3",
"0.3.7.1rc2",
"0.3.7.1rc1",
"0.3.7.1rc0",
"0.3.7",
"0.3.7rc0",
"0.3.6.1",
"0.3.6",
"0.3.6rc0",
"0.3.5",
"0.3.5rc0",
"0.3.4",
"0.3.4rc0",
"0.3.3",
"0.3.3rc0",
"0.3.2",
"0.3.1",
"0.3.1rc0",
"0.3.0",
"0.2.0",
"0.2.0rc2",
"0.2.0rc1",
"0.1.3",
"0.1.3rc0",
"0.1.2",
"0.1.1",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5062.json"
}
}
],
"modified": "2026-10-28T02:30:39.304960943Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5062.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5062",
"https://github.com/zenml-io/zenml/commit/21edd863c0ba53c1110b6f018a07c2d6853cf6d4"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5062.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5062",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506588,
"published_at": "2024-06-30T15:14:25.313+00:00"
}