Files
skillshare/.devcontainer
Willie 70aedcddde build(ui): upgrade Vite to 8.3.8 and keep dev ports on loopback (#959)
Vite 8.3.0 to 8.3.6 is affected by GHSA-p4f5-76q4-ffq7: a request to a
network-exposed dev server can inject code through the
__vite-browser-external virtual module, read files outside server.fs, and
run code on the server. The dashboard dev server ran 8.3.1, and the
devcontainer published its port on every host interface, so other machines
on the network could reach it. The advisory PoC read a file the dev server
had refused on 8.3.1 and is refused on 8.3.8, which pulls in the patched
Rolldown 1.2.19.

The devcontainer now publishes Vite, the API and Docusaurus on 127.0.0.1
only. These are development servers and nothing uses them from another
machine. Released builds serve the prebuilt dashboard from the Go binary
and never run the Vite dev server, so users are not affected.
2026-11-19 04:35:28 +08:00
..