In breve
- CVE-2023-41049 è una vulnerabilità MEDIO (CVSS 6.1) che riguarda single sign on client (decentraland), @dcl/single-sign-on-client.
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 0.46%, superiore al 39.8% delle vulnerabilità.
- Correzione: aggiornare a 0.1.0 o successiva.
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