Skip to content

Only link http(s) forge URLs in the web UI - #7548

Merged
6543 merged 1 commit into
woodpecker-ci:mainfrom
6543-forks:security-harden-ui
Nov 11, 2026
Merged

6543 merged 1 commit into
woodpecker-ci:mainfrom
6543-forks:security-harden-ui

Conversation

@6543

@6543 6543 commented Nov 11, 2026

Copy link
Copy Markdown
Member

The forge URLs of pipelines and repos come from webhooks and were used as links without checking the scheme, so a javascript: URL could run code on click. Links now only use http and https URLs, like the login error link already did, which now uses the same helper.

The forge URLs of pipelines and repos come from webhooks and were used
as links without checking the scheme, so a javascript: URL could run
code on click. Links now only use http and https URLs, like the login
error link already did, which now uses the same helper.
@6543 6543 added ui frontend related enhancement improve existing features security labels Nov 11, 2026
@6543
6543 requested a review from a team November 11, 2026 14:45
@6543
6543 merged commit 2cd9f3d into woodpecker-ci:main Nov 11, 2026
7 checks passed
@6543
6543 deleted the security-harden-ui branch November 11, 2026 22:29
@woodpecker-bot woodpecker-bot mentioned this pull request Nov 11, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve existing features security ui frontend related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants