Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated CRM account
-
DeliveryUpload HTML file with malicious JavaScript
-
ExploitShare /files/ URL with privileged victim
-
ExecutionVictim browser renders file in Twenty origin
-
PersistScript exfiltrates session/cookies
-
ImpactAttacker hijacks account and extracts CRM data
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 | Exploitation requires (1) an authenticated Twenty CRM account with permission to upload files via the standard upload flow, (2) the attacker uploading an HTML payload through the existing file-upload feature on a vulnerable instance running Twenty ≤ 1.18.0, and (3) victim user interaction - a target user with a valid session must navigate to the served /files/* or /file/:fileFolder/:id URL of the malicious file. Limiting factors: PR:L means anonymous internet attackers cannot exploit directly, UI:R means there is no drive-by mass-exploitation path, and any reverse proxy or WAF that already forces Content-Disposition: attachment or X-Content-Type-Options: nosniff on these endpoints will neutralize the attack. The flaw is in default Twenty behavior, not gated behind an optional configuration flag. |
| Impact | The CVSS 3.1 score of 8.7 reflects network attack vector, low complexity, low privileges (any authenticated user can upload), required user interaction (the victim must open the malicious file URL), and a scope change with high confidentiality and integrity impact in the victim's authenticated CRM session. SSVC corroborates total technical impact but notes Automatable: no, which aligns with the EPSS score of 0.03% (10th percentile) - exploitation is targeted, not mass-scannable, because it requires luring an authenticated victim. Not present in CISA KEV. The signals are internally consistent: a high-severity insider-or-tenant-driven XSS that is real and serious for multi-tenant or workspace-shared Twenty deployments but unlikely to drive opportunistic mass exploitation. |
| Exploit ScenarioDerived | An attacker with any authenticated Twenty account (e.g., a low-privileged workspace member or invited guest) uploads an .html file containing JavaScript that calls the CRM API and exfiltrates session data, then sends the file's /files/ URL to an administrator via an in-app note, comment, or external channel. When the admin clicks the link, the browser renders the HTML in the Twenty origin and the script harvests their session cookies or API tokens, enabling full account takeover. The vulnerability has confirmed POC-level analysis (SSVC: poc) but no public weaponized exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Stored cross-site scripting in Twenty CRM versions 1.18.0 and earlier allows authenticated users to upload HTML/JavaScript files that the application then serves without security headers, enabling execution in the CRM's origin. Successful exploitation leads to session hijacking, account takeover, and theft of CRM data. No public exploit identified at time of analysis, and EPSS exploitation probability is 0.03% (10th percentile), though SSVC rates technical impact as total.
RemediationAI
No vendor-released patch version is identified in the supplied data; consult GHSA-f5h2-3qw5-3qp7 (https://github.com/twentyhq/twenty/security/advisories/GHSA-f5h2-3qw5-3qp7) and upgrade to the fixed Twenty release referenced there once confirmed. As compensating controls until upgrade, place the /files/* and /file/:fileFolder/:id endpoints behind a reverse proxy (nginx, Caddy, Cloudflare) that injects Content-Type: application/octet-stream or the original safe MIME type, Content-Disposition: attachment, and X-Content-Type-Options: nosniff on responses - this forces download instead of inline rendering at the cost of breaking legitimate inline image/PDF previews. Optionally restrict upload MIME types to a non-HTML allowlist and serve user uploads from a separate sandbox domain so any executed script cannot reach the CRM session origin; the trade-off is added deployment complexity and CORS configuration. Tighten file-upload permissions to trusted users only to shrink the attacker population, accepting that this does not eliminate the bug for malicious insiders.
Affected VersionsENISA
Affected Packages
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
Twenty is an open-source CRM platform (cpe:2.3:a:twentyhq:twenty). The vulnerability resides in the file-serving endpoints /files/* and /file/:fileFolder/:id, which stream uploaded files back to clients via fileStream.pipe(res) without setting Content-Type, Content-Disposition: attachment, or X-Content-Type-Options: nosniff. Without nosniff, modern browsers MIME-sniff response bodies and will render an uploaded .html file as a document; without Content-Disposition: attachment, the browser inlines rather than downloads it. This is a classic CWE-79 (stored XSS) realized through a content-type confusion / unsafe file-serving pattern, with the attacker-controlled JavaScript executing in the Twenty CRM origin and inheriting access to session cookies, CSRF tokens, and authenticated API endpoints.
Know when Twenty 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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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.
Executive ViewAI
Twenty CRM versions 1.18.0 and earlier contain a stored cross-site scripting vulnerability exploitable by any authenticated user through file upload, creating direct paths to session hijacking and account takeover. Successful exploitation could enable theft of customer data and unauthorized access to other user accounts across the CRM platform. No public exploit identified at time of analysis, but the vulnerability's potential for complete data breach makes this a critical remediation priority.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict file upload functionality to only necessary use cases and administrative users; (2) Implement Content Security Policy (CSP) with script-src restrictions and X-Frame-Options: DENY to prevent XSS execution in the CRM origin; (3) Deploy Web Application Firewall with signatures to detect and block HTML/JavaScript uploads and common XSS payloads; (4) Enforce multi-factor authentication for all CRM users to reduce account takeover impact; (5) Implement detailed logging and alerting for file uploads, session activities, and unusual user behavior; (6) Conduct regular audits of uploaded file types and content; (7) Consider restricting CRM access by IP range or VPN during the remediation period.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Twenty CRM v1.15.0 has a code injection vulnerability enabling remote attackers to execute arbitrary code through the CR
The CRM platform Twenty is vulnerable to stored cross site scripting via file upload in version 0.3.0. Rated high severi
Remote code execution in Twenty CRM versions 1.7.7 through 1.16.7 allows authenticated users to execute arbitrary OS com
Plaintext IMAP, SMTP, and CalDAV passwords belonging to other workspace members are disclosed to any authenticated low-p
The CRM platform Twenty version 0.3.0 is vulnerable to SSRF via file upload. Rated medium severity (CVSS 5.4), this vuln
Unauthenticated workspace takeover in Twenty CRM: the public signUp GraphQL mutation returns the plaintext personalInvit
SQL injection in Twenty, an open-source CRM platform, lets a workspace administrator holding the DATA_MODEL permission i
Server-side request forgery (SSRF) in Twenty CRM allows authenticated users to bypass IP filtering protections and acces
Cross-workspace data disclosure in Twenty CRM before 2.9.0 lets any authenticated user holding the AI settings flag (a w
Field-level read permission bypass in Twenty CRM before 2.22.0 lets an authenticated workspace member or API key that is
Twenty CRM before 2.35.0 fails to enforce field- and row-level permission checks inside the groupBy-with-records GraphQL
Stored cross-site scripting in Twenty CRM versions prior to 1.20.6 allows authenticated attackers to inject malicious Ja
EUVD-2026-31895
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB