En bref
- CVE-2023-41049 est une vulnérabilité MOYENNE (CVSS 6.1) touchant single sign on client (decentraland), @dcl/single-sign-on-client.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.46%, plus élevée que 39.8% des vulnérabilités.
- Correctif : mettre à jour vers 0.1.0 ou plus récent.
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