# CVE-2026-44644: LiquidJS's strip_html filter bypass via newline characters in HTML tags enables XSS

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-27T00:09:12.000Z
- Modified: 2026-10-27T15:15:08.036Z
- Also known as: GHSA-2qv6-9wx5-cwv4
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- harttle liquidjs: < 10.26.0
- liquidjs (npm): before 10.26.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `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> (exploit, web)
- <https://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045> (web)
- <https://github.com/harttle/liquidjs/releases/tag/v10.26.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44644> (advisory)
- <https://github.com/harttle/liquidjs> (package)
- <https://github.com/harttle/liquidjs/blob/v10.26.0/CHANGELOG.md> (web)

## Sources

- CVE List: [CVE-2026-44644](https://www.cve.org/CVERecord?id=CVE-2026-44644), CVE Terms of Use, modified 2026-06-18
- GitHub Advisory Database: [GHSA-2qv6-9wx5-cwv4](https://github.com/advisories/GHSA-2qv6-9wx5-cwv4), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-44644](https://nvd.nist.gov/vuln/detail/CVE-2026-44644), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44644 · Whole record: https://cve.day/CVE-2026-44644.json · Rebuilt by cve.day 2026-11-25T22:59:25.014Z
