Skip to content
HighVulnerabilityLLM-specific

CVE-2026-53597: Prompty loader arbitrary JavaScript execution via frontmatter

Identifier
CVE-2026-53597
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Prompty's @prompty/core TypeScript loader, in runtime/typescript/packages/core/src/core/loader.ts, used gray-matter without overriding the executable js and javascript frontmatter engines from 2.0.0-alpha.1 until 2.0.0-beta.3. An attacker-controlled .prompty file with ---js frontmatter could therefore run arbitrary JavaScript when the prompt was loaded.

Mitigation

Fixed in 2.0.0-beta.3.