TROYANOSYVIRUS
Back to CVEs

CVE-2026-33287

HIGH
7.5

Description

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 `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.

CVE Details

CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/26/2026
Last Modified3/30/2026
Sourcenvd
Honeypot Sightings0

Affected Products

liquidjs:liquidjs

Weaknesses (CWE)

CWE-20CWE-400

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.