{"id":"CVE-2021-32702","aliases":["GHSA-954c-jjx6-cxv7"],"url":"https://o3.security/vulnerability/CVE-2021-32702","summary":"Reflected XSS from the callback handler's error query parameter","details":"### Overview\n\nVersions 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.\n\n### Am I affected?\nYou 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.\n\n### How to fix that?\nUpgrade to version `1.4.2`.\n\n### Will this update impact my users?\nThe fix adds basic HTML escaping to the error message and it should not impact your users.\n\n### Credit\n\nhttps://github.com/inian\nhttps://github.com/git-ishanpatel","published":"2021-06-25T17:15:08.383Z","modified":"2026-07-09T14:06:18.945060Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@auth0/nextjs-auth0","fixedVersion":"1.4.2"}],"fix":{"url":"https://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf","label":"auth0/nextjs-auth0@6996e25"},"references":[{"type":"WEB","url":"https://www.npmjs.com/package/%40auth0/nextjs-auth0"},{"type":"ADVISORY","url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-954c-jjx6-cxv7"},{"type":"FIX","url":"https://github.com/auth0/nextjs-auth0/commit/6996e2528ceed98627caa28abafbc09e90163ccf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32702"},{"type":"WEB","url":"https://www.npmjs.com/package/@auth0/nextjs-auth0"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T14:06:18.945060Z"}}