{"id":"EUVD-2026-37815","enisaUuid":"0d1f6eaf-31db-30c6-9dd4-93dc39f6ae85","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 (\u003c.*?\u003e) 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. \u003cimg\\nsrc\u003dx\\nonerror\u003dalert(1)\u003e) 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.","datePublished":"Jun 17, 2026, 9:50:24 PM","dateUpdated":"Jun 18, 2026, 1:09:26 PM","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4\nhttps://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045\nhttps://github.com/harttle/liquidjs/releases/tag/v10.26.0\n","aliases":"CVE-2026-44644\nGHSA-2qv6-9wx5-cwv4\n","assigner":"GitHub_M","epss":0.25,"enisaIdProduct":[{"id":"84d12d7c-5147-3754-bf97-b5e7ecc89b2a","product":{"name":"liquidjs","vendor":{"name":"harttle"}},"product_version":"\u003c 10.26.0"}],"enisaIdVendor":[{"id":"7b421233-c68c-3aa3-a7de-f33ddadcf39a","vendor":{"name":"harttle"}}],"enisaIdVulnerability":[{"id":"14230f29-9a79-3bf9-9955-2a18f144d2fb","vulnerability":{"id":"GHSA-2qv6-9wx5-cwv4","description":"LiquidJS\u0027s strip_html filter bypass via newline characters in HTML tags enables XSS","datePublished":"May 27, 2026, 12:09:12 AM","dateUpdated":"Oct 27, 2026, 3:01:22 PM","baseScore":0.0,"references":"https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-44644\nhttps://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045\nhttps://github.com/harttle/liquidjs\nhttps://github.com/harttle/liquidjs/blob/v10.26.0/CHANGELOG.md\nhttps://github.com/harttle/liquidjs/releases/tag/v10.26.0\n","enisa_id":"EUVD-2026-37815\n","aliases":"GHSA-2qv6-9wx5-cwv4\nCVE-2026-44644\n","epss":0.0,"dataProcessed":"Oct 28, 2026, 8:01:57 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"670d1623-63e1-32bd-bead-d99055d4b4ab","vulnerability":{"id":"CVE-2026-44644","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 (\u003c.*?\u003e) 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. \u003cimg\\nsrc\u003dx\\nonerror\u003dalert(1)\u003e) 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.","datePublished":"Jun 17, 2026, 9:50:24 PM","dateUpdated":"Jun 18, 2026, 1:09:26 PM","status":"PUBLISHED","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4\nhttps://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045\nhttps://github.com/harttle/liquidjs/releases/tag/v10.26.0\n","enisa_id":"EUVD-2026-37815\n","assigner":"GitHub_M","epss":0.25,"dataProcessed":"Oct 28, 2026, 7:17:27 AM","vulnerabilityProduct":[{"id":"70b1d0ac-3f09-3f08-bde0-464929566a10","product":{"name":"liquidjs","vendor":{"name":"harttle"}},"product_version":"\u003c 10.26.0"}],"vulnerabilityVendor":[{"id":"61298bfc-7e6f-3f87-a8fd-8b414226e39d","vendor":{"name":"harttle"}}]}}],"enisaIdAdvisory":[]}