NetSight
high7.6

CVE-2026-102615

HeyForm is an open-source form builder.

Impact

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.

An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected products · Heyform

ProductAffected versions
Heyform
before 3.0.1
Version < 3.0.1

Weakness classification

References