Intel

AIKIDO-2025-10896

@boundaries/elements is vulnerable to Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

25

Low Risk

This Affects:

JS@boundaries/elements
1.1.0 - 1.1.1
Fixed in 1.1.2

TL;DR

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the HANDLEBARS_TEMPLATE_REGEX due to an inefficient regex pattern. Attackers can exploit this by crafting malicious Handlebars templates that cause catastrophic backtracking, leading to excessive CPU consumption and service disruption. This vulnerability allows denial of service attacks by triggering exponential time complexity in regex matching, potentially rendering the application unresponsive.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@boundaries/elements is vulnerable to Inefficient Regular Expression Complexity in versions 1.1.0 - 1.1.1.

How to fix this

Upgrade the @boundaries/elements library to the patch version.