SCA: security update for liquidjs (GHSA-2qv6-9wx5-cwv4)

medium Tenable Self-Hosted Container Security Plugin ID 477667

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. Versions 10.25.7
and below are vulnerable to XSS through a flaw in the strip_html filter logic. The strip_html filter is
intended to remove HTML tags from a string before rendering, and is widely used as an XSS sanitizer. The
implementation uses a regex whose catch-all branch (<.*?>) does not match line terminators, so any HTML
tag containing a \n or \r character passes through unmodified. An attacker who can place a newline inside
a tag (e.g. <img\nsrc=x\nonerror=alert(1)>) bypasses sanitization entirely, since browsers treat newlines
as whitespace within a tag and execute the resulting onerror/onload/etc. handler. Exploitation is possible
for applications that both render attacker-controlled strings via {{ x | strip_html }} to defend against
HTML injection and do not separately HTML-escape that output (default behavior — outputEscape is unset by
default). This issue has been fixed in version 10.26.0. (CVE-2026-44644)

Solution

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

See Also

https://github.com/advisories/GHSA-2qv6-9wx5-cwv4

Plugin Details

Severity: Medium

ID: 477667

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.41

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-44644

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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-44644

cwe: CWE-79