# CVE-2026-45797: HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload

- Severity: Medium 6.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-07-20T15:43:13.473Z
- Modified: 2026-07-22T20:50:36.493Z
- Weaknesses: CWE-79, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- heyform heyform: < 3.0.0-rc.7

## References

- <https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch>
- <https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674>

## Sources

- CVE List: [CVE-2026-45797](https://www.cve.org/CVERecord?id=CVE-2026-45797), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-45797](https://nvd.nist.gov/vuln/detail/CVE-2026-45797), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-45797 · Whole record: https://cve.day/CVE-2026-45797.json · Rebuilt by cve.day 2026-11-25T22:59:29.238Z
