CVE-2026-44644 Details
Description
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.
A cross-site scripting (XSS) vulnerability has been identified in LiquidJS versions through 10.25.7. The issue arises in the strip_html filter, which is designed to remove HTML tags from strings before rendering, serving as an XSS sanitizer. The vulnerability stems from a regular expression that fails to match line terminators, allowing HTML tags with newline characters to bypass sanitization. An attacker could exploit this by injecting a newline into a tag, such as an image tag with an onerror handler, which would then be executed by the browser. This vulnerability affects applications that use the strip_html filter to sanitize user input without additional HTML escaping, a common practice in LiquidJS applications.
Users are advised to update to LiquidJS version 10.26.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 17, 2026CISA-ADP
Assessed Jun 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045 | [email protected] | Source CodeVendor |
| https://github.com/harttle/liquidjs/releases/tag/v10.26.0 | [email protected] | Release NotesVendor |
| https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LiquidJS | <= 10.25.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 18, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | New CVE Received | [email protected] |
Volerion