PT-2023-27760 · Unknown · @Dcl/Single-Sign-On-Client
Published
2023-09-01
·
Updated
2023-09-06
·
CVE-2023-41049
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
@dcl/single-sign-on-client versions prior to 0.1.0
Description
The issue concerns improper input validation in the
init function, allowing arbitrary JavaScript to be executed using the javascript: prefix. This can be exploited by passing malicious input to the init function, such as SSO.init('javascript:alert("javascript successfully injected")'). There is no information provided about the estimated number of potentially affected devices worldwide or real-world incidents where this issue was exploited.Recommendations
For versions prior to 0.1.0, upgrade to version 0.1.0 to resolve the issue.
As a temporary workaround for users unable to upgrade, limit untrusted user input to the
init function or ensure that user input is correctly sanitized to prevent exploitation.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Dcl/Single-Sign-On-Client