Skip to content

fix: prevent uncontrolled redirect on /go/app/download - #839

Merged
mcdurdin merged 1 commit into
masterfrom
fix/prevent-uncontrolled-redirect
Sep 17, 2026
Merged

mcdurdin merged 1 commit into
masterfrom
fix/prevent-uncontrolled-redirect

Conversation

@mcdurdin

Copy link
Copy Markdown
Member

The /go/app/download/<platform> endpoint has a parameter url which is intended for internal use on this site, but the parameter was not validated, so it could be abused for random redirects to any site. Now requires the url to point to downloads.keyman.com; a more comprehensive fix could remove the hostname altogether from the redirector and just have a path (but this mitigates for now).

Test-bot: skip

The `/go/app/download/<platform>` endpoint has a parameter `url` which
is intended for internal use on this site, but the parameter was not
validated, so it could be abused for random redirects to any site. Now
requires the url to point to downloads.keyman.com; a more comprehensive
fix could remove the hostname altogether from the redirector and just
have a path (but this mitigates for now).

Test-bot: skip
@keymanapp-test-bot

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot added this to the B19S2 milestone Sep 17, 2026
@github-actions github-actions Bot added the fix label Sep 17, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Keyman Sep 17, 2026

@rc-swag rc-swag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rslgtm

@mcdurdin
mcdurdin merged commit 9cf15ec into master Sep 17, 2026
6 checks passed
@mcdurdin
mcdurdin deleted the fix/prevent-uncontrolled-redirect branch September 17, 2026 04:28
@github-project-automation github-project-automation Bot moved this from Todo to Done in Keyman Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants