{"id":"CVE-2024-45856","aliases":["CVE-2024-45856","GHSA-32fj-r8qw-r8w8","PYSEC-2026-1628"],"related":[],"kind":"vulnerability","state":"published","title":"MindsDB Cross-site Scripting vulnerability","summary":"A cross-site scripting (XSS) vulnerability exists in all versions of the MindsDB platform, enabling the execution of a JavaScript payload whenever a user enumerates an ML Engine, database, project, or dataset containing arbitrary JavaScript code within the web UI.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A cross-site scripting (XSS) vulnerability exists in all versions of the MindsDB platform, enabling the execution of a JavaScript payload whenever a user enumerates an ML Engine, database, project, or dataset containing arbitrary JavaScript code within the web UI.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de Cross-site Scripting (XSS) en todas las versiones de la plataforma MindsDB, que permite la ejecución de un payload de JavaScript cada vez que un usuario enumera un motor de aprendizaje automático, una base de datos, un proyecto o un conjunto de datos que contiene código JavaScript arbitrario dentro de la interfaz de usuario web.","source":"nvd"}],"published":"2024-09-12T13:05:01.526Z","modified":"2026-07-07T17:56:46.758Z","severity":{"scorer":"HiddenLayer","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"HiddenLayer","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"*","status":"affected"}],"vendor":"mindsdb","product":"mindsdb","repo":"https://github.com/mindsdb/mindsdb","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"*","status":"affected"}],"vendor":"mindsdb","product":"mindsdb","cpe":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"24.9.2.1"}],"ecosystem":"PyPI","package":"mindsdb","purl":"pkg:pypi/mindsdb","source":"ghsa"},{"ranges":[],"vendor":"mindsdb","product":"mindsdb","cpe":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"24.9.2.1"}],"ecosystem":"PyPI","package":"mindsdb","purl":"pkg:pypi/mindsdb","source":"pysec"}],"references":[{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45856","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/mindsdb","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-32fj-r8qw-r8w8","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"HiddenLayer","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-12T16:55:06.284Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45856","url":"https://www.cve.org/CVERecord?id=CVE-2024-45856","licence":"CVE Terms of Use","modified":"2024-09-12T16:57:45.128Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-32fj-r8qw-r8w8","url":"https://github.com/advisories/GHSA-32fj-r8qw-r8w8","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:46.758Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45856","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45856","licence":"Public domain","modified":"2026-06-17T07:54:58.347Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1628","url":"https://osv.dev/vulnerability/PYSEC-2026-1628","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:04.474Z"}],"updatedAt":"2026-11-25T22:58:45.351Z","epss":{"score":0.00816,"percentile":0.54125,"date":"2026-11-30T12:00:22.000Z"}}