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 fails to remove HTML tags containing newline characters due to a regex limitation, allowing malicious tags with embedded event handlers to bypass sanitization. This can lead to script execution when attacker-controlled input is rendered without additional HTML escaping. 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 tags with newline characters to pass through unfiltered. Attackers can exploit this by injecting tags such as <img\nsrc=x\nonerror=alert(1)>, which browsers interpret as valid and execute event handlers. Exploitation requires the application to render attacker-controlled input using the vulnerable filter without additional HTML escaping. The vulnerability has a CVSS 3.1 score of 6.1 (medium severity) and is fixed in version 10.26.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to information disclosure or user session compromise. The vulnerability specifically impacts applications that rely on the strip_html filter for XSS defense without enabling output escaping. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade to LiquidJS version 10.26.0 or later, where this issue is fixed. Until then, avoid relying solely on the strip_html filter for XSS protection and ensure that output escaping is enabled when rendering untrusted input. Patch status is not explicitly stated but the fix is available in version 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 fails to remove HTML tags containing newline characters due to a regex limitation, allowing malicious tags with embedded event handlers to bypass sanitization. This can lead to script execution when attacker-controlled input is rendered without additional HTML escaping. 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 tags with newline characters to pass through unfiltered. Attackers can exploit this by injecting tags such as <img\nsrc=x\nonerror=alert(1)>, which browsers interpret as valid and execute event handlers. Exploitation requires the application to render attacker-controlled input using the vulnerable filter without additional HTML escaping. The vulnerability has a CVSS 3.1 score of 6.1 (medium severity) and is fixed in version 10.26.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to information disclosure or user session compromise. The vulnerability specifically impacts applications that rely on the strip_html filter for XSS defense without enabling output escaping. There is no indication of known exploits in the wild.
Mitigation Recommendations
Upgrade to LiquidJS version 10.26.0 or later, where this issue is fixed. Until then, avoid relying solely on the strip_html filter for XSS protection and ensure that output escaping is enabled when rendering untrusted input. Patch status is not explicitly stated but the fix is available in version 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: 06/17/2026, 22:35:05 UTC
Last enriched: 07/10/2026, 09:52:07 UTC
Last updated: 08/01/2026, 07:18:00 UTC
Views: 60
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.