Vulnerability Description
Prompty is a markdown file format (.prompty) for LLM prompts. From 2.0.0-alpha.1 until 2.0.0-beta.3, the @prompty/core TypeScript loader in runtime/typescript/packages/core/src/core/loader.ts used gray-matter without overriding executable js and javascript frontmatter engines, allowing an attacker-controlled .prompty file with ---js frontmatter to execute arbitrary JavaScript during prompt loading. This issue is fixed in version 2.0.0-beta.3.
Related Weaknesses (CWE)
References
- https://github.com/microsoft/prompty/commit/c27402da2487075be577f06aa79df627fb9d
- https://github.com/microsoft/prompty/security/advisories/GHSA-c4gh-rv8h-q9vw
FAQ
What is CVE-2026-53597?
CVE-2026-53597 is a documented vulnerability. Prompty is a markdown file format (.prompty) for LLM prompts. From 2.0.0-alpha.1 until 2.0.0-beta.3, the @prompty/core TypeScript loader in runtime/typescript/packages/core/src/core/loader.ts used gra...
How severe is CVE-2026-53597?
CVSS scoring is not yet available for CVE-2026-53597. Check NVD for updates.
Is there a patch for CVE-2026-53597?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.