CVE-2023-41049
Improper Neutralization of Script in Attributes in @dcl/single-sign-on-client
7.5
HIGH
CVSS 3.1
EPSS 0.36%
Description
### 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
How to fix CVE-2023-41049
To remediate CVE-2023-41049, upgrade the affected package to a fixed version below.
- —upgrade to 0.1.0 or later
Is CVE-2023-41049 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |