Skip to main content

HeyForm CVE-2026-102615

| EUVDEUVD-2026-117549 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-05 GitHub_M
7.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege session or public-form respondent context
  2. Delivery
    Upload HTML file with spoofed image mimetype
  3. Exploit
    File served as text/html, CSP disabled
  4. Execution
    Script executes on app origin in victim session
  5. Impact
    Read/modify account data via /graphql

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold an upload-capable context: either a logged-in HeyForm session (self-service signup is sufficient, so the bar is low) OR the unauthenticated respondent path requiring a valid formId plus openToken plus a fieldId belonging to an active public form that contains a file or signature question (this path was not verified end to end by the reporter). The core trigger is that /api/upload trusts the client-controlled multipart Content-Type (file.mimetype) against its allowlist while keeping the .html filename - the reporter named the file poc.html and set its part Content-Type to image/png to pass assertFileTypeAllowed (which blocks only .svg/.svgz). static/upload then serves the file as text/html and main.ts configures helmet with contentSecurityPolicy: false, so nothing blocks inline script. LIMITING FACTORS: exploitation requires a victim to actually open the returned /static/upload/<id>-poc.html URL (UI:R), the attacker needs at least a low-privilege session, and the broadest unauthenticated variant depends on a non-default prerequisite - a public form exposing a file/signature field. Updating to 3.0.1 is the vendor-indicated fix.

Impact

CVSS 3.1 rates this 7.6 (High) with vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N: network-reachable and low-complexity, but moderated by a low-privilege requirement (PR:L) and mandatory victim interaction (UI:R), and amplified by a scope change (S:C) because attacker script executes on the HeyForm origin inside another user's authenticated session. There is no CISA KEV listing, so this is NOT confirmed actively exploited, and no EPSS probability was supplied in the input, so widespread-exploitation likelihood cannot be quantified here - state this gap explicitly rather than assuming low risk. A detailed public PoC reference exists in the GHSA advisory (the reporter tested execution against a local instance); it is not verified in the input as packaged working exploit code. The vuln.today decision label is 'this_week', consistent with a genuine priority that is serious but not an emergency: a real stored-XSS-to-account-takeover primitive whose practical exploitation still depends on a victim opening the attacker's uploaded URL and on the attacker holding at least a self-service session. Net assessment: a legitimate this-week patch priority, not an inflated high-CVSS-but-low-real-risk issue, but also not a drop-everything mass-exploitation event given the UI:R gating and absence of KEV/EPSS signals.

Exploit ScenarioDerived

An attacker signs up for an ordinary HeyForm account (or uses a public form's respondent flow) and POSTs a file named poc.html to /api/upload with the multipart Content-Type header spoofed to image/png, bypassing the mimetype allowlist while the file retains its .html name. The server stores it and serves it from static/upload as text/html with CSP disabled, so when a victim such as the form owner opens the returned /static/upload/<id>-poc.html URL, the embedded <script> runs on the app origin and can query /graphql with the victim's session. A reporter-tested PoC demonstrating script execution (document.title changed to a marker) is documented in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Stored cross-site scripting in HeyForm form builder versions through 3.0.0-rc.10 lets a low-privilege authenticated user upload an HTML file whose multipart Content-Type is spoofed as image/png, after which /static/upload serves it as text/html and any embedded script runs on the HeyForm origin when a victim opens the returned link. CVSS 3.1 scores this 7.6 (High) with AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N: the scope change reflects same-origin access to /graphql under the victim's session, while mandatory victim interaction and the low-privilege precondition limit exposure. The vendor fixed the issue in 3.0.1, the GitHub Security Advisory includes a working proof-of-concept reproduction, and no CISA KEV entry confirms active exploitation.

RemediationAI

Upgrade to HeyForm 3.0.1 (release tag v3.0.1, commit 849f7101d4370b29e716b2d7ee14a86c2f598f3a); the vendor advisory is https://github.com/heyform/heyform/security/advisories/GHSA-pxw5-pjrc-j758. If upgrading immediately is not possible, apply the advisory's suggested compensating controls: serve /static/upload responses with Content-Disposition: attachment so browsers download uploaded files instead of rendering them (trade-off: uploaded files no longer preview inline and users must download them), and re-enable helmet's Content-Security-Policy, currently contentSecurityPolicy: false in main.ts, with a policy that blocks inline script (trade-off: requires testing against the app's existing inline scripts and should be rolled out in report-only mode first). Validating real file content or magic bytes instead of trusting the client-supplied multipart Content-Type is a code-level fix that also blocks the bypass, but it requires a file-type parser and may reject legitimate files. Restricting /api/upload to authenticated sessions and disabling file or signature fields on public forms where they are not needed reduces the unauthenticated-respondent variant, at the cost of removing that functionality. The vuln.today decision label for this CVE is this_week, so schedule the upgrade within the current weekly remediation cycle.

Affected VersionsENISA

heyform < 3.0.1

Affected Packages

euvd heyform fix: 3.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HeyForm's upload pipeline runs on multer/busboy: the server takes file.mimetype directly from the multipart part's Content-Type header, and assertFileTypeAllowed validates only that client-declared value against an allowlist while the extension blocklist covers just .svg and .svgz. The original .html filename survives because busboy reduces the uploaded name to a basename, so the file lands in static/upload and is later served with Content-Type text/html based on its extension; packages/server/src/main.ts also configures helmet with contentSecurityPolicy: false, leaving inline script free to run. CWE-79 (improper neutralization of input during web page generation) is the classification, but the practical effect is a stored-XSS pivot: same-origin JavaScript can call /graphql with the victim's session and read or modify anything that account can access. A secondary path allows uploads tied to an active public form through formId, openToken, and a fieldId belonging to a file or signature question, although the advisory did not fully verify that unauthenticated path end to end. The 3.0.1 patch commit 849f7101 also adds escapeHtmlText() around answer titles and values in answer-to-html.ts and hidden-field names and values in hidden-fields-to-html.ts, plus UNSAFE_CSS_VALUE_REGEX sanitization in form-renderer/theme.ts, indicating a broader XSS hardening release beyond the upload endpoint.

Know when Heyform gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.6 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
vuln.today AI 7.6 HIGH

Upload needs a self-service session so PR:L; victim must open the uploaded URL so UI:R; script runs cross-session on the app origin so S:C with C:H/I:L via GraphQL.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 17:03 EUVD
CVE Published
Nov 05, 2026 - 15:32 cve.org
HIGH 7.6

DescriptionCVE.org

HeyForm is an open-source form builder. Prior to 3.0.1, /api/upload accepts a file according to the client-controlled multipart file.mimetype while retaining an HTML filename, and static/upload serves the resulting file as text/html with contentSecurityPolicy: false. An ordinary user can therefore upload active HTML that executes on the HeyForm origin when a victim opens its returned URL. The same-origin script can access /graphql with the victim's session and read or modify data available to that account. The code also permits upload requests tied to an active public form through formId, openToken, and a fieldId belonging to a file or signature question, although the advisory did not fully verify that unauthenticated path end to end. This issue is fixed in version 3.0.1.

Technical POC Analysis

CWE-79 (stored cross-site scripting).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

HeyForm, our form-building platform, has a stored cross-site scripting vulnerability (CVE-2026-102615) that allows low-privilege authenticated users to upload malicious HTML files masquerading as images, which then execute scripts in victims' browsers when opened. This could enable session hijacking and unauthorized access to sensitive data within HeyForm, affecting any user who interacts with a compromised link. Leadership should prioritize patching to version 3.0.1 to mitigate potential data exposure and maintain user trust.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche self-hosted open-source form builder, limited production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy