CVE-2026-45797

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.
CVSS

No CVSS.

Configurations

No configuration.

History

20 Jul 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-20 16:17

Updated : 2026-07-22 20:50


NVD link : CVE-2026-45797

Mitre link : CVE-2026-45797

CVE.ORG link : CVE-2026-45797


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-434

Unrestricted Upload of File with Dangerous Type