@dcl/single-sign-on-client
Affected
- introduced
0, fixed0.1.0(semver)
Fixed versions
0.1.0
Fix
- Fixed version
0.1.0npm install @dcl/[email protected]
Advisory
Also known as: CVE-2023-41049
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
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
High Basis: The source's own band: HIGH
0, fixed 0.1.0 (semver)0.1.0
0.1.0npm install @dcl/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0