npmWorst: High7 advisories
@auth0/nextjs-auth0: known vulnerabilities
@auth0/nextjs-auth0 has 7 reviewed security advisories in the GitHub Advisory Database — 2 high, 4 moderate, 1 low. The most recent was published 2026-04-17. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @auth0/nextjs-auth0 versions running across your servers, containers and images, and ranks what to patch first.
How to fix @auth0/nextjs-auth0
Upgrade @auth0/nextjs-auth0 to a release at or above the fixed version shown for each advisory below. For npm:
npm install @auth0/nextjs-auth0@4.18.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (7)
Auth0 Next.js SDK has Improper Proxy Cache Lookup
Moderate 5.4 CWE-362 CWE-863
— Affected: from 4.12.0 up to 4.18.0. Fixed in 4.18.0. Published 2026-04-17. GHSA-xq8m-7c5p-c2r6 · CVE-2026-40155
Improper Validation of Query Parameters in Auth0 Next.js SDK
Low 3.7 CWE-184
— Affected: from 4.9.0 up to 4.13.0. Fixed in 4.13.0. Published 2025-12-11. GHSA-mr6f-h57v-rpj5 · CVE-2025-67716
Improper Request Caching Lookup in the Auth0 Next.js SDK
Moderate 5.4 CWE-863
— Affected: from 4.12.0 up to 4.12.1. Fixed in 4.12.1. Published 2025-12-10. GHSA-wcgj-f865-c7j7 · CVE-2025-67490
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
High CWE-525
— Affected: from 4.0.1 up to 4.6.1. Fixed in 4.6.1. Published 2025-06-04. GHSA-f3fg-mf2q-fj3f · CVE-2025-48947
Auth0 NextJS SDK v4 Missing Session Invalidation
Moderate CWE-613
— Affected: from 4.0.1 up to 4.5.1. Fixed in 4.5.1. Published 2025-04-29. GHSA-pjr6-jx7r-j4r6 · CVE-2025-46344
Open redirect in @auth0/nextjs-auth0
Moderate 6.4 CWE-601
— Affected: before 1.6.2. Fixed in 1.6.2. Published 2021-12-16. GHSA-2mqv-4j3r-vjvp · CVE-2021-43812
Reflected XSS from the callback handler's error query parameter
High 8.0 CWE-79
— Affected: before 1.4.2. Fixed in 1.4.2. Published 2021-06-25. GHSA-954c-jjx6-cxv7 · CVE-2021-32702
Find @auth0/nextjs-auth0 across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.