{"id":"EUVD-2021-1297","enisaUuid":"31ebfd29-1a41-385b-a894-309940c0c1d3","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.","datePublished":"Jun 25, 2021, 4:25:11 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","baseScore":8.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","references":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7\nhttps://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf\nhttps://www.npmjs.com/package/%40auth0/nextjs-auth0\n","aliases":"CVE-2021-32702\nGHSA-954c-jjx6-cxv7\n","assigner":"GitHub_M","epss":1.4,"enisaIdProduct":[{"id":"0d7506aa-d38d-30e0-b957-8a7e3665bdde","product":{"name":"nextjs-auth0","vendor":{"name":"auth0"}},"product_version":"\u003c 1.4.2"}],"enisaIdVendor":[{"id":"2eb60531-08da-32f5-8214-6bc761f97a21","vendor":{"name":"auth0"}}],"enisaIdVulnerability":[{"id":"814e58a7-6a5c-3ed8-8fac-c55b55f7e245","vulnerability":{"id":"GHSA-954c-jjx6-cxv7","description":"Reflected XSS from the callback handler\u0027s error query parameter","datePublished":"Jun 28, 2021, 4:46:41 PM","dateUpdated":"Jun 28, 2021, 7:06:42 PM","baseScore":null,"references":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32702\nhttps://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf\nhttps://www.npmjs.com/package/@auth0/nextjs-auth0\n","enisa_id":"EUVD-2021-1297\n","aliases":"GHSA-954c-jjx6-cxv7\nCVE-2021-32702\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"e8aefd2d-d6a4-3f7d-a098-9d7c1f3443e7","vulnerability":{"id":"CVE-2021-32702","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.","datePublished":"Jun 25, 2021, 4:25:11 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","status":"PUBLISHED","baseScore":8.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","references":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7\nhttps://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf\nhttps://www.npmjs.com/package/%40auth0/nextjs-auth0\n","enisa_id":"EUVD-2021-1297\n","assigner":"GitHub_M","epss":1.4,"dataProcessed":"Nov 24, 2026, 7:26:19 AM","vulnerabilityProduct":[{"id":"bb49926c-c409-3d1d-86c5-0d7e653a811a","product":{"name":"nextjs-auth0","vendor":{"name":"auth0"}},"product_version":"\u003c 1.4.2"}],"vulnerabilityVendor":[{"id":"866dc930-86a2-3099-b346-574c4b91999d","vendor":{"name":"auth0"}}]}}],"enisaIdAdvisory":[]}