# CVE-2024-51498: [@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-11-04T23:07:17.704Z
- Modified: 2026-06-17T08:05:48.630Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- imputnet cobalt: < 10.2.1

## 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>

## Sources

- CVE List: [CVE-2024-51498](https://www.cve.org/CVERecord?id=CVE-2024-51498), CVE Terms of Use, modified 2024-11-05
- NVD: [CVE-2024-51498](https://nvd.nist.gov/vuln/detail/CVE-2024-51498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-51498 · Whole record: https://cve.day/CVE-2024-51498.json · Rebuilt by cve.day 2026-11-25T22:58:47.732Z
