En resumen
- CVE-2023-41049 es una vulnerabilidad MEDIO (CVSS 6.1) que afecta a single sign on client (decentraland), @dcl/single-sign-on-client.
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.46%, mayor que el 39.8% de las vulnerabilidades.
- Solución: actualizar a 0.1.0 o posterior.
Description
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 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free