{"id":"CVE-2024-51498","state":"PUBLISHED","title":"[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance","description":"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.","publishedAt":"2024-11-04T23:07:17.704Z","updatedAt":"2024-11-05T16:47:40.398Z","severity":{"score":6,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["imputnet cobalt"],"affected":[{"vendor":"imputnet","product":"cobalt","versions":[{"version":"< 10.2.1","status":"affected"}]}],"references":["https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735","https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354","https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19","https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/51xxx/CVE-2024-51498.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-51498","state":"PUBLISHED","datePublished":"2024-11-04T23:07:17.704Z","dateUpdated":"2024-11-05T16:47:40.398Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-28T14:20:59.338Z"},"containers":{"cna":{"title":"[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"imputnet","product":"cobalt","versions":[{"version":"< 10.2.1","status":"affected"}]}],"references":[{"url":"https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735","name":"https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354","name":"https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354","tags":["x_refsource_MISC"]},{"url":"https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19","name":"https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19","tags":["x_refsource_MISC"]},{"url":"https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1","name":"https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-04T23:07:17.704Z"},"source":{"advisory":"GHSA-cm4c-v4cm-3735","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-05T16:47:27.857651Z","id":"CVE-2024-51498","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-05T16:47:40.398Z"}}]}}}