Skip to content

v0.4.1 — Security patch

Choose a tag to compare

@brwinnov brwinnov released this 14 Mar 19:27
· 29 commits to master since this release

Security Fixes

  • XSS patch — networkDetail.ts was missing HTML escaping and CSP header; all API-sourced values now go through escHtml() and the panel has a nonce-based CSP
  • escHtml consistency — serverDetail.ts escHtml now also escapes single quotes (' → ')
  • Type-safe error handling — catch (err: any) replaced with catch (err: unknown) throughout (networkDetail.ts, networkCommands.ts, sshKeyCommands.ts)
  • CIDR validation — Stricter regex now correctly constrains octets to 0–255 and prefix to 0–32 (previously accepted invalid values like 999.0.0.0/99)

Other Changes

  • Removed leftover Storage Box / Load Balancer references from Welcome page