Vulnerability · Published Nov 4, 2024 · Assigned by GitHub_M
CVE-2024-51498[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance
Medium 6.0
In plain English
A medium-severity cross-site scripting in cobalt from imputnet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-79 · 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
References
- https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735 x_refsource_CONFIRM
- https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354 x_refsource_MISC
- https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19 x_refsource_MISC
- https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1 x_refsource_MISC