Description
This affects the package hellojs before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | hellojs | unspecified – < 1.18.6 | 1.18.6 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | hellojs | < 1.18.6 | 1.18.6 | GHSA-7jh9-6cpf-h4m7 |