Security Resilience

CVE-2026-33287

DoS in Liquidjs ≤ 10.25.1

Public PoCDoS
Published
26 March 2026
Modified
30 March 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0060 43th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-33287 is a high-severity Improper Input Validation (CWE-20) vulnerability in Liquidjs. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 43th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-5 (Denial-of-service Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-33287 is a denial-of-service vulnerability in LiquidJS, a pure JavaScript template engine compatible with Shopify and GitHub Pages. In versions prior to 10.25.1, the `replace_first` filter improperly uses JavaScript's `String.prototype.replace()` method, which interprets `$&` as a backreference to the matched substring. This allows exponential memory amplification—up to a 625,000:1 ratio—because the filter's `memoryLimit` enforcement only accounts for the input string length, not the expanded output size, as mapped to CWE-20 (Improper Input Validation) and CWE-400 (Uncontrolled Resource Consumption).

The vulnerability has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating it is exploitable over the network with low complexity by unauthenticated attackers requiring no user interaction. An attacker can craft a malicious template input for the `replace_first` filter that triggers repeated backreference expansions, rapidly exhausting server memory while remaining within configured limits, resulting in application crashes or service denial.

The GitHub security advisory (GHSA-6q5m-63h6-5x4v) and commit 35d523026345d80458df24c72e653db78b5d061d detail the patch in LiquidJS version 10.25.1, which addresses the memory accounting flaw in the filter. Security practitioners should upgrade to 10.25.1 or later and review deployments using LiquidJS for templating, especially in web-facing applications.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.1, the `replace_first` filter in LiquidJS uses JavaScript's `String.prototype.replace()` which interprets `$&` as a back reference to the matched substring. The filter only charges…

more

`memoryLimit` for the input string length, not the amplified output. An attacker can achieve exponential memory amplification (up to 625,000:1) while staying within the `memoryLimit` budget, leading to denial of service. Version 10.25.1 patches the issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-33285Same product: Liquidjs Liquidjs
CVE-2023-27483Shared CWE-20, CWE-400
CVE-2023-27484Shared CWE-20, CWE-400
CVE-2026-50196Shared CWE-20, CWE-400
CVE-2025-46115Shared CWE-20, CWE-400
CVE-2023-42503Shared CWE-20, CWE-400
CVE-2023-45167Shared CWE-20, CWE-400
CVE-2024-32007Shared CWE-20, CWE-400
CVE-2026-67978Shared CWE-20, CWE-400
CVE-2025-21230Shared CWE-20, CWE-400

Affected Assets

liquidjs
liquidjs
≤ 10.25.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing input validation through analysis or test cases.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

SI-10 directly requires validity checks on information inputs, structurally preventing improper or missing validation.

Requiring documented development standards and tools can embed input-validation practices into the engineering process.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

Testing against a defined set of requirements and using code review plus vulnerability scanning forces validation of inputs and handling of unanticipated conditions, reducing the chance that malformed data will be accepted.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.

blocks

Capacity management ensures sufficient resources are available and monitors utilization, but it does not stop an attacker from sending requests that consume those resources once the system is operational.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References