CVE Catalog

CVE-2026-45797

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.40%

33th percentile - higher than 33% of all known CVEs

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.

Risk Assessment

An attacker can inject a malicious script in an uploaded SVG file, which will execute in the browser of any user visiting the page, potentially leading to session theft, redirects, or other attacks.

Recommendation

Update HeyForm to version 3.0.0-rc.7 or later. If not possible, disable the `/api/upload` endpoint or restrict allowed file types.

Other vulnerabilities in HeyForm

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS