CVE-2026-44644: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in harttle liquidjs
LiquidJS versions 10.25.7 and below contain a cross-site scripting (XSS) vulnerability in the strip_html filter. The filter uses a regex that fails to match line terminators inside HTML tags, allowing tags with newline characters to bypass sanitization. This can lead to execution of attacker-controlled scripts when rendering unescaped output. The issue is fixed in version 10.26.0.
AI Analysis
Technical Summary
LiquidJS, a JavaScript template engine compatible with Shopify and GitHub Pages, has an XSS vulnerability (CWE-79) in versions 10.25.7 and earlier. The vulnerability arises from the strip_html filter's regex which does not match line terminators inside HTML tags, allowing crafted tags containing newline characters to bypass HTML tag stripping. When attacker-controlled input is rendered using {{ x | strip_html }} without additional HTML escaping (default behavior), malicious scripts can execute. This flaw is addressed in LiquidJS version 10.26.0.
Potential Impact
An attacker able to inject input that is processed by the vulnerable strip_html filter can bypass sanitization by embedding newline characters inside HTML tags, leading to cross-site scripting. This can result in partial confidentiality and integrity loss (CVSS 6.1), such as executing arbitrary scripts in the context of the affected web application. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade LiquidJS to version 10.26.0 or later, where this vulnerability is fixed. Until then, avoid relying solely on the strip_html filter for XSS protection and ensure output is properly HTML-escaped. Patch status is not explicitly confirmed in the advisory, but the fix is stated to be in 10.26.0.
CVE-2026-44644: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in harttle liquidjs
Description
LiquidJS versions 10.25.7 and below contain a cross-site scripting (XSS) vulnerability in the strip_html filter. The filter uses a regex that fails to match line terminators inside HTML tags, allowing tags with newline characters to bypass sanitization. This can lead to execution of attacker-controlled scripts when rendering unescaped output. The issue is fixed in version 10.26.0.
CVSS v3.1
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LiquidJS, a JavaScript template engine compatible with Shopify and GitHub Pages, has an XSS vulnerability (CWE-79) in versions 10.25.7 and earlier. The vulnerability arises from the strip_html filter's regex which does not match line terminators inside HTML tags, allowing crafted tags containing newline characters to bypass HTML tag stripping. When attacker-controlled input is rendered using {{ x | strip_html }} without additional HTML escaping (default behavior), malicious scripts can execute. This flaw is addressed in LiquidJS version 10.26.0.
Potential Impact
An attacker able to inject input that is processed by the vulnerable strip_html filter can bypass sanitization by embedding newline characters inside HTML tags, leading to cross-site scripting. This can result in partial confidentiality and integrity loss (CVSS 6.1), such as executing arbitrary scripts in the context of the affected web application. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade LiquidJS to version 10.26.0 or later, where this vulnerability is fixed. Until then, avoid relying solely on the strip_html filter for XSS protection and ensure output is properly HTML-escaped. Patch status is not explicitly confirmed in the advisory, but the fix is stated to be in 10.26.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-07T15:30:10.875Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a332119f198dc38c11faa4b
Added to database: 6/17/2026, 10:35:05 PM
Last enriched: 6/17/2026, 10:50:38 PM
Last updated: 6/18/2026, 3:00:14 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.