Skip to main content
← All vulnerabilities
CVE-2026-45797

HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.0-rc.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • heyform heyform

    fixed in 3.0.0-rc.7

References 2

GitHub · heyform/heyform