ash_typescript is vulnerable to URL Redirection to Untrusted Site (Open Redirect)
23
Low Risk
The ash_typescript generated TypeScript client builds route URLs by replacing each :param placeholder with a bare string interpolation and never calls encodeURIComponent. A path parameter value that contains characters such as ../, ?, or #, or a leading protocol relative value, can send the request to an unintended or untrusted host, including any credentialed headers. This happens on routes whose path begins with a parameter when no absolute base path is configured. The fix encodes path parameters in the generated route URLs.
You are affected if you are using a version that falls within the vulnerable range and you pass untrusted input into a generated route whose path begins with a parameter without an absolute base path.
ash_typescript is vulnerable to URL Redirection to Untrusted Site (Open Redirect) in versions 0.15.0 - 0.17.3.
Upgrade the ash_typescript library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.