@ninetailed/experience.js-shared is vulnerable to Regular Expression Denial of Service (ReDoS)
53
Medium Risk
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.
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.
@ninetailed/experience.js-shared is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 4.2.0 - 7.24.3.
Upgrade the @ninetailed/experience.js-shared library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant