Vulnerabilities/

Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer

Severity:
High

Description

The TypeScript Nunjucks renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access. An attacker-controlled template could traverse constructor and prototype properties to execute JavaScript in the host Node.js process.

Recommendation

Update the @prompty/core package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@prompty/core
Anything's wrong? Let us know Last updated on July 24, 2026