PT-2026-43626 · Git+2 · Liquidjs
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
LiquidJS versions 10.25.7 and earlier
Description
An issue exists in the
Context.spawn() function where it fails to propagate the parent context's resolved ownPropertyOnly value when creating a child context for the {% render %} tag. Instead, the new context re-derives this value from the instance-level options, ignoring any ownPropertyOnly override provided via parseAndRender(). This results in a silent bypass that allows prototype-chain properties to be leaked from within any {% render %} partial, even if the developer explicitly enabled the ownPropertyOnly: true lockdown for that specific render call. This leads to information disclosure of secrets, hashes, or internal state of objects passed into the partial.Recommendations
Update to version 10.26.0.
As a temporary workaround, restrict the use of the
{% render %} tag when processing untrusted templates until the update is applied.Exploit
Fix
Protection Mechanism Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Liquidjs