CVE-2026-106120: LiquidJS: ownPropertyOnly bypass for inherited array indices in first/last/join/reverse/slice/compact, `.first`/`.last`, negative index, and for-loop iteration

Published Oct 6, 2026
·
Updated

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, enabling ownPropertyOnly does not consistently restrict inherited array indices because negative indexing, .first, .last, the first filter, the last filter, join, reverse, slice, compact, and for-loop iteration can read prototype-provided elements outside readJSProperty(). An attacker who can influence prototype state or inherited array-index data and cause templates to render affected operations can disclose values that ownPropertyOnly is expected to hide. Direct positive indexing and ordinary object prototype reads are blocked, but the alternate array paths remain affected. This issue is fixed in 10.27.2.

Affected Software

1 affected component
npm/liquidjs<10.27.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LiquidJS to a version that resolves this vulnerability.

    Fixed in 10.27.2

Event History

Oct 6, 2026
CVE Published
via MITRE·06:04 PM
Data Sourced
via MITRE·06:04 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using LiquidJS versions before 10.27.2 are exposed when ownPropertyOnly is enabled and templates render affected array operations. Exploitation also requires an attacker to influence prototype state or inherited array-index data.

2

Is ownPropertyOnly sufficient to prevent this disclosure?

No. Before 10.27.2, ownPropertyOnly blocks direct positive indexing and ordinary object prototype reads, but it does not consistently block inherited array indices through the affected alternate array-access paths.

3

Which template operations should be reviewed for exposure?

Review use of negative array indexes, .first and .last, the first and last filters, and the join, reverse, slice, and compact filters. For-loop iteration can also read prototype-provided array elements.

4

What should be done if the application cannot be upgraded immediately?

Avoid rendering templates that use the affected array operations with data whose prototype state or inherited array-index properties can be attacker-influenced. Upgrade to LiquidJS 10.27.2 to fix the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203