SecurityContext

CVE-2026-45797: HeyForm - Stored XSS

  • Cve: CVE-2026-45797
  • Name: HeyForm - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute persistent scripts on the heyform domain, leading to user session hijacking or data theft.
  • Remediation: Upgrade to version 3.0.0-rc.7 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: stored_xss
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.4
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.0057
  • Epss percentile: 0.48093
  • Assignee: [email protected]
  • Published at: 2026-07-20T16:17:00Z
  • Age in days: 127
  • Modified at: 2026-07-22T20:50:36Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45797
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/heyform/heyform/commit/144240e5545d10fd9e120d05ccb402a6d7064674nvd
https://github.com/heyform/heyform/security/advisories/GHSA-m94h-jxvc-hhchnvd

Projects

RepositoryLink kindsIndexedUrl
heyform/heyformcommit, fix, security_advisoryyes/v1/repositories/heyform/heyform

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts