Intel

AIKIDO-2026-502401

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

53

CVE Score

Medium

Regular Expression Denial of Service (ReDoS)

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.

How do I fix this?

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

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.

Versions

4.2.0 - 7.24.3

Fixed in 7.25.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea