Advisory

GHSA-vp4f-wxgw-7x8x

Also known as: CVE-2023-41049

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-04 16:36 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@dcl/single-sign-on-client

npm · All systems

Affected

  • introduced 0, fixed 0.1.0 (semver)

Fixed versions

0.1.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences