Vulnerability library
Security checkMay 13, 2026

liquidjs has a Denial of Service via circular block reference in layout

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

High severitynpmliquidjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A circular block reference in {% layout %} / {% block %} causes an infinite recursive loop, consuming all available memory (~4GB) and crashing the Node.js process with FATAL ERROR: JavaScript heap out of memory. This allows any user who can submit a Liquid template to perform a Denial of Service attack.

Recommendation

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

  • Affected version(s): < 10.25.7
  • Patched version(s): 10.25.7

References

Could your website be exposed too?

SmartScanner can check your website for liquidjs has a Denial of Service via circular block reference in layout and gives you actionable findings to investigate.

Start a free scan

Related Issues

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