{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.0.0-rc.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "144240e5545d10fd9e120d05ccb402a6d7064674"
            }
          ],
          "repo": "https://github.com/heyform/heyform",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m94h-jxvc-hhch"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-434",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45797.json"
  },
  "details": "HeyForm is an open-source form builder. Prior to version 3.0.0-rc.7, the `/api/upload` endpoint allows unauthenticated file uploads including SVG files. Uploaded SVGs are stored in the static assets directory and served with `Content-Type: image/svg+xml` by Express's serve-static middleware, allowing an attacker to achieve stored cross-site scripting (XSS) on the heyform domain without any authentication. Version 3.0.0-rc.7 contains a patch for the issue.",
  "id": "CVE-2026-45797",
  "modified": "2026-07-22T05:30:05.954692380Z",
  "published": "2026-07-20T15:43:13.473Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45797.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45797"
    },
    {
      "type": "FIX",
      "url": "https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload"
}