NetSight
high7.5

CVE-2023-41049

Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client

Impact

### Impact Improper input validation in the `init` function allows arbitrary javascript to be executed using the `javascript:` prefix ```ts 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

Affected packages

EcosystemPackageAffectedFixed in
npm@dcl/single-sign-on-client< 0.1.00.1.0

Affected products

VendorProductAffected versions
DecentralandSingle Sign On Client
before 0.1.0

Weakness classification

References