{"id":"CVE-2026-73299","published":"2026-08-12T17:31:38Z","modified":"2026-08-12T18:54:20Z","title":"Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer","vendor":"Microsoft","product":"prompty","tier":"tail","description":{"text":"Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 0.1.5 and 2.0.0-beta.5, 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. This issue is fixed in versions 0.1.5 and 2.0.0-beta.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01784,"percentile":0.78843,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/prompty/pull/404","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/pull/405","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5","tags":["x_refsource_MISC"]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":15.77},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"prompty","versions":["< 0.1.5",">= 2.0.0-alpha.1, < 2.0.0-beta.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-12T18:53:50.277151Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-57382","exploited":false,"provenance":"source"}}