Vulnerabilities/

LiquidJS's `{% render %}` tag silently bypasses per-render `ownPropertyOnly:true` via `Context.spawn()`

Severity:
Medium

Description

Context.spawn() in liquidjs creates a child Context for the {% render %} tag but does not propagate the parent context’s resolved ownPropertyOnly value. The new context re-derives ownPropertyOnly from opts.ownPropertyOnly (the instance-level option), silently discarding any RenderOptions.ownPropertyOnly override that was supplied to parseAndRender().

Recommendation

No fix is available yet. Followings are affected versions:

References

Related Issues

Tags:
npm
liquidjs
Anything's wrong? Let us know Last updated on May 27, 2026