Willie
e9dc4d0360
feat(server)!: answer only at localhost, IP addresses and trusted origins ( #811 )
...
DNS rebinding lets a page point its own domain at the user's machine,
which makes its requests same-origin to the dashboard, so the CSRF
guard cannot refuse them. Only the MCP, Hooks and Plugins routes
required a localhost or IP Host, so such a page could still install,
sync and push. That rule also blocked those three pages for people who
run the dashboard behind their own reverse proxy (#809 ).
The dashboard now answers every route only at localhost, an IP address,
the --host name, and origins given with --trusted-origin or
SKILLSHARE_UI_TRUSTED_ORIGINS. Configuration stays outside config.yaml
so the dashboard cannot widen its own trust through its config API. A
trusted origin must match the Host with its scheme, and an Origin
header, when sent, must be that origin. A refused browser gets a page
with the exact setting to copy, the API gets it in the error, and the
server log names each refused Host once.
BREAKING CHANGE: a dashboard opened by a domain name, such as a reverse
proxy, a Tailscale or mDNS name, or a Docker service name, now returns
403 on every page until that address is trusted, for example with
`skillshare ui start --trusted-origin https://skills.example.com `.
Release-As: 0.30.0
2026-11-09 11:59:50 +08:00
..
2026-10-26 01:38:04 +08:00
2026-03-18 22:35:02 +08:00
2026-10-05 15:40:19 +08:00
2026-10-05 15:40:19 +08:00
2026-10-04 19:34:24 +08:00
2026-10-05 14:26:09 +08:00
2026-09-19 03:14:03 +08:00
2026-11-06 14:55:35 +08:00
2026-11-06 13:56:53 +08:00
2026-11-06 14:55:35 +08:00
2026-10-13 22:42:05 +08:00
2026-10-13 22:42:05 +08:00
2026-10-05 18:26:12 +08:00
2026-10-08 12:01:42 +08:00
2026-10-07 00:03:34 +08:00
2026-10-07 00:03:34 +08:00
2026-10-24 16:33:37 +08:00
2026-10-10 01:06:23 +08:00
2026-10-10 01:06:23 +08:00
2026-11-06 23:49:30 +08:00
2026-11-05 15:23:28 +08:00
2026-09-19 03:14:03 +08:00
2026-09-30 02:25:42 +08:00
2026-10-12 13:59:59 +08:00
2026-10-29 16:47:38 +08:00
2026-10-05 15:40:19 +08:00
2026-04-14 18:16:11 +08:00
2026-05-30 19:23:12 +08:00
2026-10-13 15:00:39 +08:00
2026-10-08 15:52:47 +08:00
2026-10-08 16:19:32 +08:00
2026-09-30 02:21:11 +08:00
2026-10-08 16:41:09 +08:00
2026-10-03 14:16:58 +08:00
2026-10-03 14:16:58 +08:00
2026-10-01 23:08:43 +08:00
2026-10-01 10:17:47 +08:00
2026-10-01 10:17:47 +08:00
2026-10-02 02:56:54 +08:00
2026-10-08 15:06:59 +08:00
2026-10-08 15:06:59 +08:00
2026-02-23 04:18:01 +08:00
2026-04-10 01:26:40 +08:00
2026-10-01 21:21:53 +08:00
2026-10-01 02:24:24 +08:00
2026-11-09 11:59:50 +08:00
2026-09-19 03:14:03 +08:00
2026-10-05 22:03:47 +08:00
2026-11-06 21:19:50 +08:00
2026-11-06 21:19:50 +08:00
2026-02-23 04:18:01 +08:00
2026-09-30 02:25:42 +08:00
2026-10-05 22:03:47 +08:00
2026-10-05 22:03:47 +08:00
2026-10-08 12:26:26 +08:00
2026-10-08 12:26:26 +08:00
2026-10-11 00:43:47 +08:00
2026-10-11 04:19:32 +08:00
2026-09-28 17:41:33 +08:00
2026-09-30 02:25:42 +08:00
2026-10-07 00:04:00 +08:00
2026-10-07 00:04:00 +08:00
2026-09-28 18:40:15 +08:00
2026-09-30 02:25:42 +08:00
2026-09-28 16:12:59 +08:00
2026-09-27 03:02:51 +08:00
2026-09-30 02:25:42 +08:00
2026-09-30 02:25:42 +08:00
2026-09-29 04:51:24 +08:00
2026-09-30 02:25:42 +08:00
2026-10-24 17:32:34 +08:00
2026-10-24 17:32:34 +08:00
2026-10-25 22:57:04 +08:00
2026-03-17 04:48:42 +08:00
2026-11-02 15:13:01 +08:00
2026-11-02 15:13:01 +08:00
2026-10-01 02:24:24 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 15:00:39 +08:00
2026-10-13 15:00:39 +08:00
2026-10-07 00:03:50 +08:00
2026-10-07 00:18:02 +08:00
2026-10-03 14:16:58 +08:00
2026-10-03 14:16:58 +08:00
2026-10-12 22:34:05 +08:00
2026-10-12 17:34:33 +08:00
2026-10-11 00:43:47 +08:00
2026-10-11 04:19:32 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 02:50:17 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 10:41:27 +08:00
2026-10-13 10:41:27 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-11-02 15:13:01 +08:00
2026-11-02 15:13:01 +08:00
2026-11-02 15:13:01 +08:00
2026-11-09 11:59:50 +08:00
2026-06-03 15:37:57 +08:00
2026-10-26 01:38:04 +08:00
2026-10-23 02:07:54 +08:00
2026-11-06 23:49:30 +08:00
2026-11-06 23:49:30 +08:00
2026-04-09 03:50:28 +08:00
2026-11-09 11:59:50 +08:00
2026-11-09 11:59:50 +08:00
2026-06-02 16:29:25 +08:00
2026-10-05 22:03:47 +08:00
2026-10-05 14:42:09 +08:00
2026-10-05 14:42:09 +08:00
2026-10-05 11:29:39 +08:00
2026-10-05 14:26:09 +08:00
2026-10-24 16:33:37 +08:00
2026-10-24 16:33:37 +08:00
2026-10-05 23:01:50 +08:00
2026-11-06 14:55:35 +08:00
2026-10-24 21:43:12 +08:00
2026-10-24 21:43:12 +08:00
2026-10-05 23:16:58 +08:00
2026-10-05 23:16:58 +08:00
2026-09-30 00:24:51 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-10-26 01:55:34 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-09-29 15:25:06 +08:00
2026-09-30 02:25:42 +08:00
2026-04-14 18:03:41 +08:00
2026-10-09 01:28:28 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-10-04 19:34:24 +08:00
2026-10-05 14:26:09 +08:00
2026-10-04 19:40:44 +08:00
2026-10-05 14:26:09 +08:00
2026-10-05 18:27:12 +08:00
2026-10-31 17:25:04 +08:00
2026-10-31 17:25:04 +08:00
2026-10-07 21:41:43 +08:00
2026-10-08 16:41:09 +08:00
2026-09-30 01:34:58 +08:00
2026-10-07 21:41:43 +08:00
2026-11-05 22:44:03 +08:00
2026-10-22 00:39:12 +08:00
2026-10-08 00:05:10 +08:00
2026-10-22 00:39:12 +08:00
2026-10-24 16:33:37 +08:00
2026-10-26 15:59:32 +08:00
2026-11-05 22:44:03 +08:00
2026-11-04 16:51:03 +08:00
2026-11-04 16:51:03 +08:00
2026-09-30 02:25:42 +08:00
2026-09-30 02:25:42 +08:00
2026-03-18 22:35:02 +08:00
2026-04-19 09:29:18 +08:00
2026-04-19 09:29:18 +08:00
2026-03-17 04:48:42 +08:00
2026-11-09 11:08:43 +08:00
2026-11-09 11:08:43 +08:00
2026-04-09 04:07:35 +08:00
2026-03-18 22:35:02 +08:00
2026-05-05 18:33:07 +08:00
2026-11-09 11:59:50 +08:00
2026-10-07 21:35:05 +08:00
2026-10-05 11:03:39 +08:00
2026-10-05 11:03:39 +08:00
2026-09-27 23:03:21 +08:00
2026-09-27 23:03:21 +08:00
2026-11-09 11:59:50 +08:00
2026-11-09 11:59:50 +08:00