Skip to content

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

High severity GitHub Reviewed Published Aug 31, 2023 in decentraland/single-sign-on-client • Updated Nov 5, 2023

Package

npm @dcl/single-sign-on-client (npm)

Affected versions

< 0.1.0

Patched versions

0.1.0

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

References

@2fd 2fd published to decentraland/single-sign-on-client Aug 31, 2023
Published by the National Vulnerability Database Sep 1, 2023
Published to the GitHub Advisory Database Sep 4, 2023
Reviewed Sep 4, 2023
Last updated Nov 5, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2023-41049

GHSA ID

GHSA-vp4f-wxgw-7x8x
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.