CVE-2026-102615
Stored XSS in HeyForm before 3.0.1 via HTML upload
- CVSS 3.1
- 7.6 high
- EPSS
- —
- Published
- ·
- Modified
Before 3.0.1, HeyForm's /api/upload accepts a file based on a client-controlled MIME type while retaining an HTML filename, and static/upload serves it as text/html with contentSecurityPolicy disabled. An ordinary user can upload active HTML that executes on the HeyForm origin when a victim opens the returned URL. The script can access /graphql with the victim's session and read or modify data available to that account. An unauthenticated public-form path was described but not fully verified.
What to do: Upgrade HeyForm to version 3.0.1.
| Product | Affected | Fixed in |
|---|---|---|
| HeyForm | prior to 3.0.1 | 3.0.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-79
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
In the news
0 storiesNo ingested article mentions this CVE yet.