weareinreach / InReach

Audit: Unsanitized user input passed to server logs JS-A1004
Security
Critical
18 days agoa month old
Sanitize user queries before logging them to console
 74		msw: {
 75			handlers: {
 76				passthrough: http.get(/^\/(?!api|trpc).*$/, (ctx) => {
 77					console.log(`MSW Passthrough: ${ctx.request.url}`) 78					passthrough()
 79				}),
 80			},