{"id":"CVE-2023-41049","aliases":["CVE-2023-41049","GHSA-vp4f-wxgw-7x8x"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client","summary":"@dcl/single-sign-on-client is an open source npm library which deals with single sign on authentication flows. Improper input validation in the `init` function allows arbitrary javascript to be executed using  the `javascript:` prefix. This vulnerability has been patched on version `0.1.0`. Users are advised to upgrade. Users unable to upgrade should limit untrusted user input to the `init` function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@dcl/single-sign-on-client is an open source npm library which deals with single sign on authentication flows. Improper input validation in the `init` function allows arbitrary javascript to be executed using  the `javascript:` prefix. This vulnerability has been patched on version `0.1.0`. Users are advised to upgrade. Users unable to upgrade should limit untrusted user input to the `init` function.","source":"cvelist"},{"lang":"en","text":"### Impact\nImproper input validation in the `init` function allows arbitrary javascript to be executed using  the `javascript:` prefix\n\n```ts\n    SSO.init('javascript:alert(\"javascript successfully injected\")')\n```\n\n### Patches\n\nThis vulnerability was patched on version `0.1.0`\n\n### Workarounds\n\nThis vulnerability can be prevented if user input correctly sanitized or there is no user input pass to the `init` function","format":"markdown","source":"ghsa"},{"lang":"es","text":"@dcl/single-sign-on-client es una biblioteca npm de código abierto que gestiona los flujos de autenticación de inicio de sesión único. Una validación de entrada incorrecta en la función 'init' permite la ejecución de javascript arbitrario utilizando el prefijo 'javascript:'. Esta vulnerabilidad ha sido parcheada en la versión '0.1.0'. Se aconseja a los usuarios que actualicen. Los usuarios que no puedan actualizar deberían limitar la entrada de usuario no confiable a la función 'init'.","source":"nvd"}],"published":"2023-09-01T19:35:09.224Z","modified":"2026-09-10T03:50:03.280Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.1.0","status":"affected"}],"vendor":"decentraland","product":"single-sign-on-client","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.0"}],"ecosystem":"npm","package":"@dcl/single-sign-on-client","purl":"pkg:npm/%40dcl/single-sign-on-client","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.1.0"}],"vendor":"decentraland","product":"single_sign_on_client","cpe":"cpe:2.3:a:decentraland:single_sign_on_client:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/decentraland/single-sign-on-client/security/advisories/GHSA-vp4f-wxgw-7x8x","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decentraland/single-sign-on-client/commit/bd20ea9533d0cda30809d929db85b1b76cef855a","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41049","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/decentraland/single-sign-on-client/pull/2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/decentraland/single-sign-on-client","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-01T13:07:59.509Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-41049","url":"https://www.cve.org/CVERecord?id=CVE-2023-41049","licence":"CVE Terms of Use","modified":"2024-10-01T13:08:08.826Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vp4f-wxgw-7x8x","url":"https://github.com/advisories/GHSA-vp4f-wxgw-7x8x","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:03.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-41049","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41049","licence":"Public domain","modified":"2026-06-17T06:20:17.830Z"}],"updatedAt":"2026-11-25T22:58:27.520Z","epss":{"score":0.00457,"percentile":0.41341,"date":"2026-12-01T12:00:22.000Z"}}