{"id":"CVE-2026-78391","aliases":["CVE-2026-78391"],"related":[],"kind":"vulnerability","state":"published","title":"Stored Cross-Site Scripting via Untrusted Cryptocurrency Address Rendering in RansomLook","summary":"RansomLook contains a stored cross-site scripting (XSS) vulnerability in the cryptocurrency wallet detail view. Cryptocurrency addresses and blockchain names originating from external sources, including the public crowd-sourced ransomwhe.re feed, were stored without sufficient validation and later embedded directly into an inline JavaScript onclick handler.\n\n\nAlthough Jinja HTML autoescaping was applied, it does not provide adequate protection when untrusted data is inserted into a JavaScript string inside an HTML attribute. HTML entities such as &#39; are decoded by the browser's HTML parser before the resulting attribute is interpreted as JavaScript. Consequently, a specially crafted cryptocurrency address containing quote characters and JavaScript syntax could escape the intended string literal and execute arbitrary JavaScript when a user clicked the affected wallet's CSV export button.\n\n\nBecause cryptocurrency information imported from an untrusted upstream could reach the vulnerable rendering path, exploitation may not require an authenticated RansomLook account if an attacker can introduce a malicious wallet record into a consumed external data source. Successful exploitation could allow attacker-controlled JavaScript to execute in the security context of the RansomLook web application, potentially exposing information accessible to the victim or performing actions with the victim's privileges.\n\n\nThe patch mitigates the issue by validating cryptocurrency addresses and blockchain identifiers before storage, restricting them to a safe character set, and replacing the inline JavaScript handler with data-* attributes and an external event listener so wallet values are treated strictly as data rather than executable JavaScript.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"RansomLook contains a stored cross-site scripting (XSS) vulnerability in the cryptocurrency wallet detail view. Cryptocurrency addresses and blockchain names originating from external sources, including the public crowd-sourced ransomwhe.re feed, were stored without sufficient validation and later embedded directly into an inline JavaScript onclick handler.\n\n\nAlthough Jinja HTML autoescaping was applied, it does not provide adequate protection when untrusted data is inserted into a JavaScript string inside an HTML attribute. HTML entities such as &#39; are decoded by the browser's HTML parser before the resulting attribute is interpreted as JavaScript. Consequently, a specially crafted cryptocurrency address containing quote characters and JavaScript syntax could escape the intended string literal and execute arbitrary JavaScript when a user clicked the affected wallet's CSV export button.\n\n\nBecause cryptocurrency information imported from an untrusted upstream could reach the vulnerable rendering path, exploitation may not require an authenticated RansomLook account if an attacker can introduce a malicious wallet record into a consumed external data source. Successful exploitation could allow attacker-controlled JavaScript to execute in the security context of the RansomLook web application, potentially exposing information accessible to the victim or performing actions with the victim's privileges.\n\n\nThe patch mitigates the issue by validating cryptocurrency addresses and blockchain identifiers before storage, restricting them to a safe character set, and replacing the inline JavaScript handler with data-* attributes and an external event listener so wallet values are treated strictly as data rather than executable JavaScript.","source":"cvelist"},{"lang":"es","text":"RansomLook contiene una vulnerabilidad de cross-site scripting (XSS) almacenado en la vista de detalles de la billetera de criptomonedas. Las direcciones de criptomonedas y los nombres de blockchain originados de fuentes externas, incluyendo el feed público de crowd-sourced ransomwhe.re, se almacenaron sin validación suficiente y luego se incrustaron directamente en un gestor onclick de JavaScript en línea.\n\nAunque se aplicó el autoescape HTML de Jinja, no proporciona protección adecuada cuando se insertan datos no confiables en una cadena de JavaScript dentro de un atributo HTML. Las entidades HTML como ' son decodificadas por el analizador HTML del navegador antes de que el atributo resultante sea interpretado como JavaScript. En consecuencia, una dirección de criptomoneda especialmente diseñada que contenga caracteres de comillas y sintaxis de JavaScript podría escapar del literal de cadena previsto y ejecutar JavaScript arbitrario cuando un usuario hiciera clic en el botón de exportación CSV de la billetera afectada.\n\nDebido a que la información de criptomonedas importada de una fuente ascendente no confiable podría alcanzar la ruta de renderizado vulnerable, la explotación podría no requerir una cuenta autenticada de RansomLook si un atacante puede introducir un registro de billetera malicioso en una fuente de datos externa consumida. La explotación exitosa podría permitir que JavaScript controlado por el atacante se ejecute en el contexto de seguridad de la aplicación web RansomLook, exponiendo potencialmente información accesible para la víctima o realizando acciones con los privilegios de la víctima.\n\nEl parche mitiga el problema validando las direcciones de criptomonedas y los identificadores de blockchain antes del almacenamiento, restringiéndolos a un conjunto de caracteres seguro y reemplazando el gestor de JavaScript en línea con atributos data-* y un oyente de eventos externo para que los valores de la billetera se traten estrictamente como datos en lugar de JavaScript ejecutable.","source":"nvd"}],"published":"2026-08-24T14:13:20.405Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"CIRCL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CIRCL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.0.0","status":"affected"}],"vendor":"ransomlook","product":"ransomlook","repo":"https://github.com/RansomLook/RansomLook","source":"cvelist"}],"references":[{"url":"https://github.com/RansomLook/RansomLook/commit/7efb59253f23552538f9a11c9bf21e7bcfcc1319","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Jeroen Pinoy","Fafner [_KeyZee_]"],"assigner":"CIRCL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-24T15:08:03.216Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78391","url":"https://www.cve.org/CVERecord?id=CVE-2026-78391","licence":"CVE Terms of Use","modified":"2026-08-24T15:08:14.815Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78391","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78391","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:35.020Z","epss":{"score":0.00258,"percentile":0.18625,"date":"2026-12-01T12:00:22.000Z"}}