CVE-2026-45797
published medium CVSS 4.0 · 6.4HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| heyform | — | heyform< 3.0.0-rc.7 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| heyform | heyform | < 3.0.0-rc.7 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
2GitHub_M · cna
HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e1acc17746d7413b766c62cf7479dc94e0c3aae44364e69d1642c01fe3564fc2
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record