CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-434","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"heyform","vendor":"heyform","versions":[{"status":"affected","version":"< 3.0.0-rc.7"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.4,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-434","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674","tags":["x_refsource_MISC"],"url":"https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/references/1
{"name":"https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch","tags":["x_refsource_CONFIRM"],"url":"https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d58870cd157a0f9ab562b03c7382d7a74d5d0e2e9be6147cc6a66562bd1a61a0 · sha256:58a79fd77bb9bcc5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.