{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32702","published":"2021-06-25T17:15:08.383000Z","last_modified":"2026-06-17T03:53:27.480000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:*","part":"a","vendor":"auth0","product":"nextjs-auth0","version_end_excluding":"1.4.2"}],"cpes_truncated":false,"vendors":["auth0"],"products":["auth0/nextjs-auth0"],"epss":{"score":0.01397,"percentile":0.72636,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-954c-jjx6-cxv7","ecosystem":"npm","name":"@auth0/nextjs-auth0","purl":"pkg:npm/%40auth0/nextjs-auth0","ranges":[{"introduced":"0","fixed":"1.4.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-32702/","html_en":"/en/cve/CVE-2021-32702/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32702","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32702"},"untrusted":{"vendor_name":"Auth0","product_name":"Nextjs-auth0","desc_en":"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.","affected":[{"untrusted_vendor":"auth0","untrusted_product":"nextjs-auth0","versions":[]}],"references":[{"url":"https://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/%40auth0/nextjs-auth0","tags":[]}]}}