CVE Explorer
CVE-2026-53597
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"prompty","vendor":"microsoft","versions":[{"status":"affected","version":">= 2.0.0-alpha.1, < 2.0.0-beta.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:37ed0bc5664eb82c181d2835de7b11b4977ea563ca3b9b85ac5bca55d6ad2b7a · sha256:0f2867f3c4233699… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:37ed0bc5664eb82c181d2835de7b11b4977ea563ca3b9b85ac5bca55d6ad2b7a · sha256:0f2867f3c4233699… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:37ed0bc5664eb82c181d2835de7b11b4977ea563ca3b9b85ac5bca55d6ad2b7a · sha256:0f2867f3c4233699… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/microsoft/prompty/commit/c27402da2487075be577f06aa79df627fb9d6853","tags":["x_refsource_MISC"],"url":"https://github.com/microsoft/prompty/commit/c27402da2487075be577f06aa79df627fb9d6853"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37ed0bc5664eb82c181d2835de7b11b4977ea563ca3b9b85ac5bca55d6ad2b7a · sha256:0f2867f3c4233699… · /containers/cna/references/1
{"name":"https://github.com/microsoft/prompty/security/advisories/GHSA-c4gh-rv8h-q9vw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/microsoft/prompty/security/advisories/GHSA-c4gh-rv8h-q9vw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37ed0bc5664eb82c181d2835de7b11b4977ea563ca3b9b85ac5bca55d6ad2b7a · sha256:0f2867f3c4233699… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.