Vulnerability library
Security checkMay 21, 2026

Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects

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

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

What kind of vulnerability is it?

It is a Denial of Service (DoS) vulnerability caused by CPU exhaustion. When serializing a specially crafted “array-like” object (an object that inherits from Array.prototype but has a very large length property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely.

Recommendation

Update the serialize-javascript package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 5.0.0, < 7.0.5
  • Patched version(s): 7.0.5

References

Could your website be exposed too?

SmartScanner can check your website for Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 21, 2026