Vulnerability library
Security checkOctober 07, 2026

LiquidJS: ownPropertyOnly bypass for inherited array indices in first/last/join/reverse/slice/compact, `.first`/`.last`,

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

Medium severitynpmliquidjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

LiquidJS’s ownPropertyOnly option is intended to prevent templates from reading inherited or prototype properties from scope data. With ownPropertyOnly: true, direct access such as:

correctly blocks an inherited array index. However, the same inherited value is still disclosed through:

Recommendation

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

  • Affected version(s): <= 10.27.1
  • Patched version(s): 10.27.2

References

Could your website be exposed too?

SmartScanner can check your website for LiquidJS: ownPropertyOnly bypass for inherited array indices in first/last/join/reverse/slice/compact, `.first`/`.last`, and gives you actionable findings to investigate.

Start a free scan

Related Issues

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