### [CVE-2024-51498](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-51498) ![](https://img.shields.io/static/v1?label=Product&message=cobalt&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%2010.2.1%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen) ### 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/0x0806/JWT-Security-Assessment