{"id":"CVE-2024-51498","aliases":["CVE-2024-51498"],"related":[],"kind":"vulnerability","state":"published","title":"[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance","summary":"cobalt is a media downloader that doesn't piss you off. A malicious cobalt instance could serve links with the `javascript:` protocol, resulting in Cross-site Scripting (XSS) when the user tries to download an item from a picker. This issue has been present since commit `66bac03e`, was mitigated in commit `97977efa` (correctly configured web instances were no longer vulnerable) and fully fixed in commit `c4be1d3a` (included in release version 10.2.1). Users are advised to upgrade. Users unable to upgrade should enable a content-security-policy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"cobalt is a media downloader that doesn't piss you off. A malicious cobalt instance could serve links with the `javascript:` protocol, resulting in Cross-site Scripting (XSS) when the user tries to download an item from a picker. This issue has been present since commit `66bac03e`, was mitigated in commit `97977efa` (correctly configured web instances were no longer vulnerable) and fully fixed in commit `c4be1d3a` (included in release version 10.2.1). Users are advised to upgrade. Users unable to upgrade should enable a content-security-policy.","source":"cvelist"},{"lang":"es","text":"cobalt es un descargador de medios que no te molesta. Una instancia maliciosa de cobalt podría ofrecer enlaces con el protocolo `javascript:`, lo que provocaría un ataque de cross site scripting (XSS) cuando el usuario intenta descargar un elemento de un selector. Este problema ha estado presente desde la confirmación `66bac03e`, se mitigó en la confirmación `97977efa` (las instancias web configuradas correctamente ya no eran vulnerables) y se solucionó por completo en la confirmación `c4be1d3a` (incluida en la versión de lanzamiento 10.2.1). Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben habilitar una política de seguridad de contenido.","source":"nvd"}],"published":"2024-11-04T23:07:17.704Z","modified":"2026-06-17T08:05:48.630Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 10.2.1","status":"affected"}],"vendor":"imputnet","product":"cobalt","source":"cvelist"}],"references":[{"url":"https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-05T16:47:27.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-51498","url":"https://www.cve.org/CVERecord?id=CVE-2024-51498","licence":"CVE Terms of Use","modified":"2024-11-05T16:47:40.398Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-51498","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51498","licence":"Public domain","modified":"2026-06-17T08:05:48.630Z"}],"updatedAt":"2026-11-25T22:58:47.732Z","epss":{"score":0.00491,"percentile":0.43803,"date":"2026-12-01T12:00:22.000Z"}}