Unrated severityNVD Advisory· Published Jul 20, 2026· Updated Jul 20, 2026
HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload
CVE-2026-45797
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.
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674mitrex_refsource_MISC
- github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhchmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.