Intel

AIKIDO-2026-643091

ash_typescript is vulnerable to URL Redirection to Untrusted Site (Open Redirect)

URL Redirection to Untrusted Site (Open Redirect)CVE-2026-82731 Published 2 days ago

23

Low Risk

This Affects:

ELIXIRash_typescript
0.15.0 - 0.17.3
Fixed in 0.18.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

ash_typescript is vulnerable to URL Redirection to Untrusted Site (Open Redirect) in versions 0.15.0 - 0.17.3.

How to fix this

Upgrade the ash_typescript library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform