{"answers":{"affected":"2 open source packages ship an affected version, including liquidjs.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44644 exists.","fix":"Upgrade liquidjs to 10.26.0 or later.","what":"CVE-2026-44644 is a medium-severity cross-site scripting vulnerability in harttle liquidjs, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-44644 and fix it if it is affected.\n\nWhat it is: CVE-2026-44644 is a medium-severity cross-site scripting vulnerability in harttle liquidjs, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44644 exists.\n\nAffected packages and fixed versions:\n- liquidjs (npm): affected all versions; fixed in 10.26.0\n- liquidjs (npm): affected all versions; fixed in 10.26.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44644/ (Markdown: https://insights.sbomify.com/CVE-2026-44644/index.md)","id":"CVE-2026-44644","markdown":"https://insights.sbomify.com/CVE-2026-44644/index.md","name":"CVE-2026-44644","record":{"aliases":["ECHO-e1c4-2b6b-9317","GHSA-2qv6-9wx5-cwv4","MINI-3v5x-6mm2-8mxc","MINI-f4cm-9gc2-qh32","MINI-jfpr-qp67-6848"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript template engine","requires_auth":"none","summary":"Attacker can bypass HTML sanitization in LiquidJS using newlines in tags, leading to XSS in applications relying on the strip_html filter.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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 (\u003c.*?\u003e) 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. \u003cimg\\nsrc=x\\nonerror=alert(1)\u003e) 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"LiquidJS's strip_html filter bypass via newline characters in HTML tags enables XSS","id":"CVE-2026-44644","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"LiquidJS has a renderLimit DoS guard bypass via empty `{% for %}` body","id":"CVE-2026-44645"},"packages":[{"ecosystem":"npm","fixed":["10.26.0"],"introduced":["0"],"last_affected":[],"package":"liquidjs","purl":null,"source":"GHSA-2qv6-9wx5-cwv4"},{"ecosystem":"npm","fixed":["10.26.0"],"introduced":["0"],"last_affected":[],"package":"liquidjs","purl":"pkg:npm/liquidjs","source":"GHSA-2qv6-9wx5-cwv4"}],"prev":{"headline":"Angular Expressions - Remote Code Execution using filters","id":"CVE-2026-44643"},"products":["liquidjs"],"published":"2026-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["harttle"]},"summary":"Attacker can bypass HTML sanitization in LiquidJS using newlines in tags, leading to XSS in applications relying on the strip_html filter.","url":"https://insights.sbomify.com/CVE-2026-44644/"}