SecurityContext

CVE-2024-51498: Cobalt - Stored XSS

  • Cve: CVE-2024-51498
  • Name: Cobalt - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the user's browser, potentially leading to session hijacking or data theft.
  • Remediation: Upgrade to version 10.2.1 or later. If upgrade is not possible, enable a Content Security Policy.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: User must click on malicious links
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6
  • Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00491
  • Epss percentile: 0.43043
  • Assignee: [email protected]
  • Published at: 2024-11-05T00:15:04Z
  • Age in days: 749
  • Modified at: 2026-06-17T08:05:48Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-51498
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Projects

RepositoryLink kindsIndexedUrl
imputnet/cobaltcommit, fix, security_advisoryyes/v1/repositories/imputnet/cobalt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts