7.5high
Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vp4f-wxgw-7x8x
Description
@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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| decentraland single-sign-on-client | < 0.1.0 | CVE List |
| @dcl/single-sign-on-client (npm) | before 0.1.0 | GitHub Advisory Database |
| decentraland single_sign_on_client | before 0.1.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
@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.
GitHub Advisory Database
Impact
Improper input validation in the init function allows arbitrary javascript to be executed using the javascript: prefix
SSO.init('javascript:alert("javascript successfully injected")')
Patches
This vulnerability was patched on version 0.1.0
Workarounds
This vulnerability can be prevented if user input correctly sanitized or there is no user input pass to the init function
NVD (es)
@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'.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-41049 changed 2024-10-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vp4f-wxgw-7x8x changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-41049 changed 2026-06-17 | Public domain |