handlebars-lang
handlebars.js
Case files
- CVE-2026-33937: Handlebars Trusts Its Own AST
CVE-2026-33937: Handlebars Trusts Its Own AST
The PoC for CVE-2026-33937 is a JSON file. The application's HTTP handler deserializes the body, hands the resulting object to Handlebars.compile, and gets back a function. When the function is called, it stringifies process.env into the rendered email.