CVE-2026-102615: HeyForm: Uploaded HTML files are served as text/html on the app origin with no CSP — stored XSS

Published Nov 5, 2026
·
Updated

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HeyForm to a version that resolves this vulnerability.

    Fixed in 3.0.1

Event History

Nov 5, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is at risk?

An ordinary authenticated HeyForm user can upload active HTML and induce a victim to open the returned upload URL. The victim's account is at risk because the script runs on the HeyForm origin and can access or modify data available through that victim's session.

2

Is an unauthenticated attack path confirmed?

The code permits upload requests associated with an active public form using formId, openToken, and a file or signature fieldId. However, the advisory did not fully verify this unauthenticated path end to end.

3

What version fixes the vulnerability?

The issue is fixed in HeyForm version 3.0.1. Versions prior to 3.0.1 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203