GHSA-7jh9-6cpf-h4m7

    Dashboard / Vulnerabilities / GHSA-7jh9-6cpf-h4m7

    GHSA-7jh9-6cpf-h4m7

    Published: 13 Jan 2021Last Modified: 8 Jul 2026

    Summary: XSS in hello.js

    Details: This affects the package hello.js 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 packages

    Package

    Name: hellojs

    Purl: pkg:npm/hellojs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.18.6

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7jh9-6cpf-h4m7 | CVE-DB