Lucene search

K
osvGoogleOSV:GHSA-VP4F-WXGW-7X8X
HistorySep 04, 2023 - 4:36 p.m.

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

2023-09-0416:36:27
Google
osv.dev
5
vulnerability
input validation
javascript prefix
patch
version
user input
sanitize
init function
sso
single sign on
software

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

0.0005 Low

EPSS

Percentile

17.0%

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

CPENameOperatorVersion
@dcl/single-sign-on-clientlt0.1.0

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

0.0005 Low

EPSS

Percentile

17.0%

Related for OSV:GHSA-VP4F-WXGW-7X8X