CVE-2026-44729

Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers)

Published May 26, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
Twenty is an open source CRM. In 1.18.0 and earlier, the file serving endpoints in Twenty CRM at /files/* and /file/:fileFolder/:id serve uploaded files using fileStream.pipe(res) without setting any Content-Type, Content-Disposition, or X-Content-Type-Options response headers. This allows an authenticated attacker to upload an HTML file containing JavaScript, which will be rendered by the victim's browser in the context of the Twenty CRM domain when accessed — enabling session hijacking, account takeover, and data theft.

Analysis

AI-generated

Technical impact

Twenty 1.18.0 and earlier expose file serving endpoints that do not set the Content‑Type, Content‑Disposition or X‑Content‑Type‑Options headers. An authenticated user can upload an HTML document containing JavaScript; when the victim later accesses the file, the browser executes the script in the context of the Twenty CRM domain. This flaw, classified as CWE‑79, can enable session hijacking, account takeover, and data exfiltration.

Affected Systems

The vulnerable product is Twenty, the open‑source customer relationship management system from twentyhq. Versions 1.18.0 and earlier are affected. The flaw is present in the file endpoints accessed via /files/* and /file/:fileFolder/:id.

Risk and Exploitability

The CVSS base score of 8.7 indicates high severity. No EPSS data is published, and the vulnerability is not listed in the CISA KEV catalog. The attack requires an authenticated attacker to upload a malicious file and a victim to request that file; therefore, it is medium‑to‑high risk in environments where users can upload files without additional scrutiny.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Twenty CRM installation to a version newer than 1.18.0 once a patch is released by the vendor
  • Configure the web server or application layer to emit correct Content‑Type, Content‑Disposition, and X‑Content‑Type‑Options headers for all served files
  • Implement a content security policy that restricts inline script execution and prevents cross‑site scripting even if malicious content is served

Generated by OpenCVE AI on May 26, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:twenty:twenty:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Twenty
Twenty twenty
Vendors & Products Twenty
Twenty twenty
Type Values Removed Values Added
Description Twenty is an open source CRM. In 1.18.0 and earlier, the file serving endpoints in Twenty CRM at /files/* and /file/:fileFolder/:id serve uploaded files using fileStream.pipe(res) without setting any Content-Type, Content-Disposition, or X-Content-Type-Options response headers. This allows an authenticated attacker to upload an HTML file containing JavaScript, which will be rendered by the victim's browser in the context of the Twenty CRM domain when accessed — enabling session hijacking, account takeover, and data theft.
Title Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers)
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 27, 2026, 1:50 PM
Reserved
May 7, 2026, 6:04 PM
Status
Analyzed
Published
May 26, 2026, 5:16 PM
Modified
Jul 24, 2026, 11:10 AM