{"cve":"CVE-2026-44644","nvd":{"published":"2026-06-17T23:17:03.463","modified":"2026-10-26T11:10:00.157","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045","https://github.com/harttle/liquidjs/releases/tag/v10.26.0","https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4","https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4"],"products":[],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-44644","score":0.00203,"percentile":0.10183,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2qv6-9wx5-cwv4","url":"https://osv.dev/vulnerability/GHSA-2qv6-9wx5-cwv4","summary":"LiquidJS's strip_html filter bypass via newline characters in HTML tags enables XSS","modified":"2026-09-10T03:51:04.228436628Z","packages":[{"ecosystem":"npm","name":"liquidjs","purl":"pkg:npm/liquidjs","ranges":["<=10.25.7"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}