CVE-2026-45797

MEDIUM CVSS 4.0: 6.4 EPSS 0.40%
Updated Jul 22, 2026
Express
Parameter Value
CVSS 6.4 (MEDIUM)
Type CWE-434 (Unrestricted File Upload), CWE-79 (Cross-Site Scripting (XSS))
Vendor Express
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0