CVE-2023-41049 – @dcl/single-sign-on-client
Package
Manager: npm
Name: @dcl/single-sign-on-client
Vulnerable Version: >=0 <0.1.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00291 pctl0.52068
Details
Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client ### 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
Metadata
Created: 2023-09-04T16:36:27Z
Modified: 2023-09-04T16:36:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-vp4f-wxgw-7x8x/GHSA-vp4f-wxgw-7x8x.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-vp4f-wxgw-7x8x
Finding: F008
Auto approve: 1