CVE-2026-45797

Source
https://cve.org/CVERecord?id=CVE-2026-45797
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45797.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45797
Aliases
  • GHSA-m94h-jxvc-hhch
Published
2026-07-20T15:43:13.473Z
Modified
2026-07-21T03:47:03.807329451Z
Severity
  • 6.4 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
HeyForm Vulnerable to Stored XSS via Unauthenticated SVG File Upload
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45797.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-434",
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/heyform/heyform

Affected ranges

Type
GIT
Repo
https://github.com/heyform/heyform
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.0-rc.7"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.13
v0.0.15
v0.0.16
v0.0.17
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v3.*
v3.0.0-alpha-2
v3.0.0-alpha.3
v3.0.0-rc.1
v3.0.0-rc.2
v3.0.0-rc.3
v3.0.0-rc.4
v3.0.0-rc.5
v3.0.0-rc.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45797.json"