{"id":"CVE-2026-44644","sourceIdentifier":"security-advisories@github.com","published":"2026-06-17T23:17:03.463","lastModified":"2026-10-26T11:10:00.157","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"LiquidJS es un motor de plantillas compatible con Shopify/GitHub Pages escrito en JavaScript puro. Las versiones 10.25.7 e inferiores son vulnerables a XSS debido a una falla en la lógica del filtro strip_html. El filtro strip_html está diseñado para eliminar etiquetas HTML de una cadena antes de la renderización, y es ampliamente utilizado como un saneador de XSS. La implementación utiliza una expresión regular (regex) cuya rama comodín (<.* [código_PHP_PoC] ) no coincide con los terminadores de línea, por lo que cualquier etiqueta HTML que contenga un carácter \\n o \\r pasa sin modificar. Un atacante que puede colocar un salto de línea dentro de una etiqueta (p. ej., <img\\nsrc=x\\nonerror=alert(1)>) elude completamente la sanitización, ya que los navegadores tratan los saltos de línea como espacios en blanco dentro de una etiqueta y ejecutan el gestor onerror/onload/etc. resultante. La explotación es posible para aplicaciones que tanto renderizan cadenas controladas por el atacante a través de {{ x | strip_html }} para defenderse contra la inyección HTML como no escapan por separado esa salida HTML (comportamiento predeterminado - outputEscape no está configurado por defecto). Este problema ha sido solucionado en la versión 10.26.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"harttle","product":"liquidjs","versions":[{"version":"< 10.26.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-18T13:09:01.490176Z","id":"CVE-2026-44644","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045","source":"security-advisories@github.com"},{"url":"https://github.com/harttle/liquidjs/releases/tag/v10.26.0","source":"security-advisories@github.com"},{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4","source":"security-advisories@github.com"},{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-2qv6-9wx5-cwv4","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}