In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @astrojs/internal-helpers to version 0.10.1 or higher.
@astrojs/internal-helpers is an Internal helpers used by core Astro packages.
Affected versions of this package are vulnerable to Open Redirect via the static file handler when the trailingSlash: 'always' configuration is enabled. An attacker can redirect users to unintended external sites by delivering a crafted link containing a backslash-prefixed path to a user.
Note: This is only exploitable if the trailingSlash: 'always' setting is enabled, the request path does not have a file extension in its final segment, and the attacker is able to deliver the crafted link to a user.
This vulnerability can be mitigated by using the default trailingSlash: 'ignore' setting, which does not issue trailing-slash redirects in the static file handler.