Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| heyform / heyform | affected < 3.0.0-rc.7 |
CWE
CWE-79, CWE-434
References
- https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch
- https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674
ADP enrichment
No English description supplied.
No references supplied.