Vulnerability library
Security checkOctober 28, 2026

Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmseroval

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

fromJSON and fromCrossJSON used two node fields without checking them.

  • An array node’s element list was not checked to be an array. A small payload could set the length the decoder looped over. This part is also tracked in GHSA-wp97-x4hv-qvhp.
  • A sequence node’s done index was not checked.

Recommendation

Update the seroval package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.6.7
  • Patched version(s): 1.6.8

References

Could your website be exposed too?

SmartScanner can check your website for Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 28, 2026