@keystone-next/auth/.../auth@12.0.0 vulnerabilities

  • latest version

    37.0.0

  • first published

    4 years ago

  • latest version published

    3 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @keystone-next/auth package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    @keystone-next/auth is a This package has been deprecated. Keystone Next has graduated to the @keystone-6 namespace.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when following an untrusted link to the sign-in or init page via the from= parameter in the URL.

    PoC

    1. Install Keystone 6 On Your System.
    2. Go To http://localhost:3000/signin?from=http://evil.com And Login And You'll Be Redirected To evil.com.
    3. Go To http://localhost:3000/signin?from=javascript:alert(document.domain) And Login And After Login, You'll See Two Reflected XSS Pop Ups.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for @keystone-next/auth.

    *