{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.1.5"
              },
              {
                "introduced": "2.0.0-alpha.1"
              },
              {
                "fixed": "2.0.0-beta.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "30acb714bf68259760916c97b0c8fdaf1c5a75a0"
            },
            {
              "fixed": "8ea0e74222e1e35b51232878b1ae32adecf1ac14"
            },
            {
              "fixed": "d8891f66b93bfa37f0611186258c953e12e87fd3"
            },
            {
              "fixed": "e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e"
            },
            {
              "fixed": "f5c57c94a0990cca79d095c3daab661b4b1fb89f"
            }
          ],
          "repo": "https://github.com/microsoft/prompty",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w28w-gp39-m4p6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1336",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73299.json"
  },
  "details": "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.",
  "id": "CVE-2026-73299",
  "modified": "2026-09-11T03:30:54.816715568Z",
  "published": "2026-08-12T17:31:38.807Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73299.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73299"
    },
    {
      "type": "FIX",
      "url": "https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/microsoft/prompty/pull/404"
    },
    {
      "type": "FIX",
      "url": "https://github.com/microsoft/prompty/pull/405"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer"
}