Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps @auth0/nextjs-auth0 from 0.16.0 to 1.4.2.

Release notes

Sourced from @​auth0/nextjs-auth0's releases.

v1.4.2

Fixed

v1.4.0

Added

  • withPageAuthRequired CSR now adds user to wrapped component props #405 (adamjmcgrath)

Fixed

  • env var substitutions now means you can define AUTH0_BASE_URL from VERCEL_URL in next.config.js #404 (adamjmcgrath)

v1.3.1

Fixed

  • Use window.location.toString() as the default returnTo value #370 (Widcket)
  • returnTo should be encoded as it contains url unsafe chars #365 (adamjmcgrath)

v1.3.0

Added

v1.2.0

Added

  • Export UserContext for overriding default hook initialisation behaviour #325 (adamjmcgrath)

Fixed

  • returnTo should respect application’s basePath configuration #317 (Widcket)

v1.1.0

Added

  • Add redirect_uri option to callback handler #298 (mariano)

Fixed

  • Chunked cookies should not exceed browser max #301 (adamjmcgrath)
  • Cleanup unused cookies when switching between chunked and unchunked #303 (adamjmcgrath)
  • New tokens should be applied to existing session after handleProfile #307 (adamjmcgrath)

v1.0.0

New features

  • New suite of frontend tools:
    • useUser hook and UserProvider to simplify checking and managing the user’s logged in state on the client.

... (truncated)

Changelog

Sourced from @​auth0/nextjs-auth0's changelog.

1.4.2 (2021-06-24)

Fixed

1.4.0 (2021-06-03)

Added

  • withPageAuthRequired CSR now adds user to wrapped component props #405 (adamjmcgrath)

Fixed

  • env var substitutions now means you can define AUTH0_BASE_URL from VERCEL_URL in next.config.js #404 (adamjmcgrath)

1.3.1 (2021-05-05)

Fixed

  • Use window.location.toString() as the default returnTo value #370 (Widcket)
  • returnTo should be encoded as it contains url unsafe chars #365 (adamjmcgrath)

1.3.0 (2021-03-26)

Added

1.2.0 (2021-03-10)

Added

  • Export UserContext for overriding default hook initialisation behaviour #325 (adamjmcgrath)

Fixed

  • returnTo should respect application’s basePath configuration #317 (Widcket)

1.1.0 (2021-02-24)

Added

  • Add redirect_uri option to callback handler #298 (mariano)

Fixed

  • Chunked cookies should not exceed browser max #301 (adamjmcgrath)
  • Cleanup unused cookies when switching between chunked and unchunked #303 (adamjmcgrath)
  • New tokens should be applied to existing session after handleProfile #307 (adamjmcgrath)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by widcket, a new releaser for @​auth0/nextjs-auth0 since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because this dependency is pre-1.0.0.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 28, 2021
@vercel
Copy link

vercel bot commented Jun 28, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/leon-erath/js-nlp-basics/71LDvR2bjXjtZaR6YzFMrvscdBsv
✅ Preview: Failed

@dependabot-preview
Copy link
Contributor Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Reflected XSS from the callback handler's error query parameter

Overview

Versions before and including 1.4.1 are vulnerable to reflected XSS. An attacker can execute arbitrary code by providing an XSS payload in the error query parameter which is then processed by the callback handler as an error message.

Am I affected?

You are affected by this vulnerability if you are using @auth0/nextjs-auth0 version 1.4.1 or lower unless you are using custom error handling that does not return the error message in an HTML response.

How to fix that?

Upgrade to version 1.4.2.

Will this update impact my users?

The fix adds basic HTML escaping to the error message and it should not impact your users.

Credit

https://github.com/inian

Affected versions: ["<= 1.4.1"]

@dependabot-preview dependabot-preview bot changed the title build(deps): bump @auth0/nextjs-auth0 from 0.16.0 to 1.4.2 [security] build(deps): bump @auth0/nextjs-auth0 from 0.16.0 to 1.4.2 Jun 28, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant