All Nuxt3 routes are displayed in production (Security vulnerability)
Hello! Today I was testing the build of my project for security vulnerabilities and accidentally noticed that if you explore the “Network” tab in the browser on any page of the site, the first chunk that Nuxt3 loads contains code where you can find all the routes that are in my project, even the administrative ones, which, of course, I would like to hide from third-party users.
I researched a few sites that use Nuxt3 to see if others have this problem, and I saw that some sites do (e.g., https://www.ecosia.org/, https://volta.net/), but some do not (e.g., https://www.upwork.com/, https://nba.rakuten.co.jp/).
Could you please tell me if anyone knows about this problem? I would be grateful if you could tell me how to solve it.
P.S. I use SSR in my project, if it matters.
P.S.S. All the sites I showed as an example were found on the Nuxt showcase
I researched a few sites that use Nuxt3 to see if others have this problem, and I saw that some sites do (e.g., https://www.ecosia.org/, https://volta.net/), but some do not (e.g., https://www.upwork.com/, https://nba.rakuten.co.jp/).
Could you please tell me if anyone knows about this problem? I would be grateful if you could tell me how to solve it.
P.S. I use SSR in my project, if it matters.
P.S.S. All the sites I showed as an example were found on the Nuxt showcase







