Vulnerabilities caused by shoddy JS are a lot more impactful to a server since multiple users will be served by the same runtime instance.
The bug here is in the hot reloading code. It should not be enabled anywhere but on developers' machines.