{"id":"CVE-2026-45797","aliases":["CVE-2026-45797"],"related":[],"kind":"vulnerability","state":"published","title":"HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-20T15:43:13.473Z","modified":"2026-07-22T20:50:36.493Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-434"],"affected":[{"ranges":[{"version":"< 3.0.0-rc.7","status":"affected"}],"vendor":"heyform","product":"heyform","source":"cvelist"}],"references":[{"url":"https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-20T19:01:36.295Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45797","url":"https://www.cve.org/CVERecord?id=CVE-2026-45797","licence":"CVE Terms of Use","modified":"2026-07-20T19:07:52.276Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45797","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45797","licence":"Public domain","modified":"2026-07-22T20:50:36.493Z"}],"updatedAt":"2026-11-25T22:59:29.238Z","epss":{"score":0.00404,"percentile":0.36747,"date":"2026-12-01T12:00:22.000Z"}}