Intel

AIKIDO-2025-10411

@prismatic-io/prism is vulnerable to Code Injection

Code Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

42

Medium Risk

This Affects:

JS@prismatic-io/prism
7.3.0 - 7.6.0
Fixed in 7.6.1

TL;DR

Affected versions of this package are vulnerable to Code Injection via String Interpolation due to unsanitized dynamic values (e.g., page.name, configVar.name, input.value) being directly embedded into generated code without proper escaping. An attacker could craft malicious input that, when interpolated into the output file, corrupts the generated configuration or leads to remote code execution (RCE) if the generated file is later evaluated or imported in an unsafe manner.

Who does this affect?

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

Background info

@prismatic-io/prism is vulnerable to Code Injection in versions 7.3.0 - 7.6.0.

How to fix this

Upgrade the @prismatic-io/prism library to the patch version.