Hello my old friend PRNG.
”The actor scanned and began exploitation against the HFS server. Each POST to the HFS loginSrp1 endpoint returns a new signed session cookie containing a “sid” value drawn from JavaScript’s Math.random() function. Through conducting several logins in succession, the actor collected enough output to reconstruct the internal state of the [Node.js] V8 PRNG algorithm, and thus recover an HFS session-cookie signing key, then forge a signed admin session cookie. This allows the attacker to login as admin without a password.”
Pretty bad, but this bug was fixed in July. So more about: JS mystery-meat dependency goo and the difficulty to get security patches into any sizable codebase because all the application logic and transitive dependencies break because nobody sticks to the same interfaces for more than a day.