Intel

AIKIDO-2026-502401

@ninetailed/experience.js-shared is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026

53

Medium Risk

This Affects:

JS@ninetailed/experience.js-shared
4.2.0 - 7.24.3
Fixed in 7.25.0
Are you affected? Scan for Free

TL;DR

The shared SDK exposes a template helper that interpolates {{ ... }} placeholders using a regular expression whose capture group relies on a lazy, unbounded quantifier. When the interpolated string contains many unterminated {{ sequences, the pattern forces the engine into polynomial backtracking that stalls the single-threaded event loop and can hang processing. Before the fix the interpolation regex was also caller-configurable, so plugins supplied their own equally unsafe patterns to the same helper. The fix hard-codes a linear-time pattern that excludes braces inside the capture group and removes the configurable regex parameter.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and untrusted input is interpolated through the shared template utility.

Background info

@ninetailed/experience.js-shared is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 4.2.0 - 7.24.3.

How to fix this

Upgrade the @ninetailed/experience.js-shared library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform