CVE-2021-32702
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
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.
Overview
- CVE ID
- CVE-2021-32702
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-25T17:15:08
- Last Modified Date
- 2021-07-01T19:29:18
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:* | 1 | OR | 1.4.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf | Patch Third Party Advisory |
https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7 | Third Party Advisory |
https://www.npmjs.com/package/@auth0/nextjs-auth0 | Product Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32702 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32702 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:09:08 | Added to TrackCVE | |||
2022-12-05 05:02:00 | 2021-06-25T17:15Z | 2021-06-25T17:15:08 | CVE Published Date | updated |
2022-12-05 05:02:00 | 2021-07-01T19:29:18 | CVE Modified Date | updated | |
2022-12-05 05:02:00 | Analyzed | Vulnerability Status | updated |