Security maintenance: HTML parsing, peer IP handling, and Vite #1

Merged
satchlj merged 2 commits from maintainer/2026-10-30 into main 2026-10-30 05:50:41 +00:00
Owner

Update x/net 0.55 → 0.62 (and x/text 0.43), Chi 5.2.3 → 5.5, Vite 8.0.16 → 8.1.6. The HTML fixes matter for untrusted email parsing/rendering. Replace deprecated RealIP with ClientIPFromRemoteAddr: forwarded headers no longer overwrite the socket peer; no application consumer relies on rewritten RemoteAddr. Regression test covers spoofed XFF/X-Real-IP.

Risk/review: x/net raises minimum Go to 1.26; toolchain directive recommends 1.27.3 to fix GO-2026-6809. IP handling intentionally changes. Kept Capacitor prerelease pins and deferred SvelteKit 3 migration. npm audit still reports 9 low findings; no high/critical findings.

Verified: Go 1.27.3 go test -race ./..., go vet ./..., go build ./..., govulncheck (no vulnerabilities); npm check (0 errors, 2 existing warnings), production build. No Android device validation. CI only runs on pushes to main.

Not merged or deployed. The live satch MCP binary is revision a9fb2b7 from mcp-server, which is absent from main. Service active; unauthenticated local /mcp returns 401. Do not replace it with a main-branch build.

Sources: https://pkg.go.dev/vuln/GO-2026-6866 , https://github.com/go-chi/chi/releases/tag/v5.3.0 , https://github.com/go-chi/chi/releases/tag/v5.5.0 , https://github.com/vitejs/vite/blob/v8.1.6/packages/vite/CHANGELOG.md , https://go.dev/doc/go1.26

Update x/net 0.55 → 0.62 (and x/text 0.43), Chi 5.2.3 → 5.5, Vite 8.0.16 → 8.1.6. The HTML fixes matter for untrusted email parsing/rendering. Replace deprecated RealIP with ClientIPFromRemoteAddr: forwarded headers no longer overwrite the socket peer; no application consumer relies on rewritten RemoteAddr. Regression test covers spoofed XFF/X-Real-IP. Risk/review: x/net raises minimum Go to 1.26; toolchain directive recommends 1.27.3 to fix GO-2026-6809. IP handling intentionally changes. Kept Capacitor prerelease pins and deferred SvelteKit 3 migration. npm audit still reports 9 low findings; no high/critical findings. Verified: Go 1.27.3 go test -race ./..., go vet ./..., go build ./..., govulncheck (no vulnerabilities); npm check (0 errors, 2 existing warnings), production build. No Android device validation. CI only runs on pushes to main. Not merged or deployed. The live satch MCP binary is revision a9fb2b7 from mcp-server, which is absent from main. Service active; unauthenticated local /mcp returns 401. Do not replace it with a main-branch build. Sources: https://pkg.go.dev/vuln/GO-2026-6866 , https://github.com/go-chi/chi/releases/tag/v5.3.0 , https://github.com/go-chi/chi/releases/tag/v5.5.0 , https://github.com/vitejs/vite/blob/v8.1.6/packages/vite/CHANGELOG.md , https://go.dev/doc/go1.26
Use x/net 0.62 for HTML parsing/rendering fixes, Chi 5.5 with explicit socket-peer IP handling, and patched Vite 8.1.6. Recommend Go 1.27.3 for the certificate distrust fix; x/net now requires Go 1.26.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
satchlj/unified-mail!1
No description provided.