boxlang-express 0.1.3

Released .

  • Security fix: res.sendFile()/res.download() interpolated a caller-supplied filename into the Content-Disposition header unescaped, letting an attacker-controlled value (e.g. passed straight through from a query param) break out of the quoted filename="..." token and inject extra header parameters. Quote and control characters are now stripped before the value reaches the header.
  • Added file upload (boxExpressUpload() / Multipart middleware, req.files) and download (res.sendFile(), res.download()) support.