CVE Catalog

CVE-2026-53597

HighCVSS 8.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.93%

57th percentile - higher than 57% of all known CVEs

Summary

A vulnerability in the Prompty library allows arbitrary JavaScript execution when loading .prompty files. The TypeScript loader uses gray-matter without overriding default frontmatter engines, enabling an attacker to inject malicious code via a file with ---js frontmatter.

Risk Assessment

An attacker can remotely execute arbitrary JavaScript on the server or development environment, leading to full system compromise, data theft, or application takeover.

Recommendation

Immediately update Prompty to version 2.0.0-beta.3 or later. Before updating, do not load .prompty files from untrusted sources.

Other vulnerabilities in Prompty

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS