SCA: security update for liquidjs (GHSA-hh27-hf48-9f5q)

high Tenable Self-Hosted Container Security Plugin ID 477740

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- LiquidJS is a Shopify/GitHub Pages compatible template engine written in pure JavaScript. In versions
10.25.7 and below, the date filter's strftime implementation parses width specifiers like %9999999d and
forwards the captured width unchecked into pad()/padStart(), leading to memory and render limit bypass. In
src/util/underscore.ts, the pad loop performs unbounded string concatenation without consulting the
Context's memoryLimit or renderLimit, so a single small template ({{ x | date: '%5000000d' }}) produces
megabytes of output and unbounded CPU. The memoryLimit and renderLimit options the docs (src/liquid-
options.ts:87-92) advertise as DoS controls — and which the docstring explicitly mentions for strftime —
are entirely bypassed. Exploitation can cause large memory allocations, high CPU usage, or OOM crashes per
render. This issue has been fixed in version 10.26.0. (CVE-2026-45357)

Solution

Update the liquidjs library and its related packages to version 10.26.0 or later.

See Also

https://github.com/advisories/GHSA-hh27-hf48-9f5q

Plugin Details

Severity: High

ID: 477740

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/28/2026

Updated: 10/28/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-45357

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/27/2026

Vulnerability Publication Date: 5/27/2026

Reference Information

CVE: CVE-2026-45357

cwe: CWE-400