CVE-2021-32702

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32702
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32702.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32702
Aliases
Related
Published
2021-06-25T17:15:08Z
Modified
2025-01-15T01:54:33.781486Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. 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. 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. Upgrade to version 1.4.1 to resolve. The fix adds basic HTML escaping to the error message and it should not impact your users.

References

Affected packages

Git / github.com/auth0/nextjs-auth0

Affected ranges

Type
GIT
Repo
https://github.com/auth0/nextjs-auth0
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.15.0
v0.16
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0

v1.*

v1.0.0
v1.0.0-beta.0
v1.0.0-beta.1
v1.0.0-beta.2
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0