Vulnerability library
Security checkJanuary 22, 2026

Seroval affected by Denial of Service via Deeply Nested Objects

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

Serialization of objects with extreme depth can exceed the maximum call stack limit.

Mitigation:
Seroval introduces a depthLimit parameter in serialization/deserialization methods. An error will be thrown if the depth limit is reached.

Recommendation

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

  • Affected version(s): <= 1.4.0
  • Patched version(s): 1.4.1

References

Could your website be exposed too?

SmartScanner can check your website for Seroval affected by Denial of Service via Deeply Nested Objects and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 22, 2026