CVE-2024-51498
JSON

6.0medium

[@imput/cobalt-web] Cross-site Scripting when downloading picker image from malicious instance

Severity
6.0medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
imputnet cobalt< 10.2.1CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

cobalt es un descargador de medios que no te molesta. Una instancia maliciosa de cobalt podría ofrecer enlaces con el protocolo `javascript:`, lo que provocaría un ataque de cross site scripting (XSS) cuando el usuario intenta descargar un elemento de un selector. Este problema ha estado presente desde la confirmación `66bac03e`, se mitigó en la confirmación `97977efa` (las instancias web configuradas correctamente ya no eran vulnerables) y se solucionó por completo en la confirmación `c4be1d3a` (incluida en la versión de lanzamiento 10.2.1). Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben habilitar una política de seguridad de contenido.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-51498 changed 2024-11-05CVE Terms of Use
NVDCVE-2024-51498 changed 2026-06-17Public domain