Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d70646
- https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch
FAQ
What is CVE-2026-45797?
CVE-2026-45797 is a documented vulnerability. 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 d...
How severe is CVE-2026-45797?
CVSS scoring is not yet available for CVE-2026-45797. Check NVD for updates.
Is there a patch for CVE-2026-45797?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.