CVE-2024-51498
published medium CVSS 4.0 · 6.0[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| imputnet | — | cobalt< 10.2.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| imputnet | cobalt | < 10.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/imputnet/cobalt/commit/66bac03e3078e4e781d2d3903c05ad66a883a354
- https://github.com/imputnet/cobalt/commit/97977efabd92375f270d1818f38de3b0682c2f19
- https://github.com/imputnet/cobalt/commit/c4be1d3a37b0deb6b6087ec7a815262ac942daf1
- https://github.com/imputnet/cobalt/security/advisories/GHSA-cm4c-v4cm-3735
Provider assertions
2GitHub_M · cna
[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ec14e67472af7a9614225aa7089a1c26c2f5fe75e9f9a1550f78732f410543e5
- Ingested
- 23 Sep 2026, 08:30:23 UTC
- Source record
- Official CVE record