A05: validate the update feed ReleaseUrl scheme #19
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Admin.tsx:2089renders<a href={update.url}>straight from the update feed's JSON (internal/services/system/update_rpc.go:96,html_urlfrom the configured Gitea feed). A compromised or malicious feed could supply ajavascript:URL — React only console-warns on those and still renders them.Admin-only page and operator-configured feed, so exploitation needs feed compromise.
Fix: server-side scheme check on
ReleaseUrl— accepthttp/httpsonly, drop anything else.Source: OWASP Top 10 (2025) audit of
v1.1.0, 2026-08-13. File references point at thev1.1.0tree.