Skip to content
Heist/ feed
Back to feed
Medium

Twenty: Stored XSS via BlockNote FileBlock

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-35451
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:59 UTC · Revision 1

Source evidence

Twenty: Stored XSS via BlockNote FileBlock

core-osv · Original source

Published 21 Apr 2026, 16:22 UTC

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.

osv:CVE-2026-35451
Complete source record
{
  "id": "76dfd98130780cdd7feb39703aefb7ed9862c1f5e723995cecf4c5990b3e9811",
  "url": "https://osv.dev/vulnerability/CVE-2026-35451",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Twenty: Stored XSS via BlockNote FileBlock",
    "summary": "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.",
    "evidence": "osv:CVE-2026-35451",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-35451",
      "aliases": [
        "CVE-2026-35451",
        "GHSA-7w89-7q26-gj7q"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/twentyhq/twenty",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8d61bb9ae62609486aa18ae6d3e6f65ed19bb1fb"
                },
                {
                  "fixed": "8da69e0f77ea820a6845a4c3c025b6af3861d523"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.20.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8da69e0f77ea820a6845a4c3c025b6af3861d523"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.17.0",
            "v1.20.5",
            "v1.20.4",
            "v1.20.3",
            "v1.20.2",
            "v1.20.0",
            "v1.19.13",
            "v1.19.12",
            "v1.19.11",
            "v1.19.10",
            "v1.19.8",
            "v1.19.7",
            "v1.19.6",
            "v1.19.5",
            "v1.19.4",
            "v1.19.3",
            "v1.19.2",
            "v1.19.1",
            "v1.19.0",
            "v1.16.16",
            "v1.16.15",
            "v1.16.14",
            "v1.16.13",
            "v1.16.10",
            "v1.16.9",
            "v1.16.0",
            "v1.15.10",
            "v1.15.9",
            "v1.15.8",
            "v1.15.7",
            "v1.15.3",
            "v1.15.0",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.11",
            "v1.13.10",
            "v1.13.9",
            "v1.13.8",
            "v1.13.3",
            "v1.13.2",
            "v1.13.1",
            "v1.13.0",
            "v1.12.18",
            "v1.12.17",
            "v1.12.15",
            "v1.12.14",
            "v1.12.13",
            "v1.12.12",
            "v1.12.8",
            "v1.12.7",
            "v1.12.6",
            "v1.12.5",
            "v1.12.4",
            "v1.12.3",
            "v1.12.0",
            "v1.11.14",
            "v1.11.6",
            "v1.11.5",
            "v1.11.4",
            "v1.11.3",
            "v1.11.0",
            "v1.10.7",
            "v1.10.6",
            "v1.10.5",
            "v1.10.4",
            "v1.10.3",
            "v1.10.2",
            "v1.10.0",
            "v1.8.11",
            "v1.8.10",
            "v1.8.9",
            "v1.8.8",
            "v1.8.7",
            "v1.8.6",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.10",
            "v1.7.9",
            "v1.7.8",
            "v1.7.7",
            "v1.7.6",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.8",
            "v1.6.0",
            "v1.5.0",
            "v1.4.11",
            "v1.4.10",
            "v1.4.9",
            "v1.4.8",
            "v1.4.7",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v1.0.0",
            "v0.60.7",
            "v0.60.6",
            "v0.60.5",
            "v0.60.4",
            "v0.60.2",
            "v0.55.7",
            "v0.55.5",
            "v0.55.4",
            "v0.55.3",
            "v0.55.2",
            "v0.55.0",
            "v0.54.7",
            "v0.53.7",
            "v0.53.6",
            "v0.53.5",
            "v0.53.4",
            "v0.53.2",
            "v0.53.0",
            "v0.51.11",
            "v0.51.10",
            "v0.44.9",
            "v0.31.0",
            "v0.30.0",
            "v0.24.1",
            "v0.24.0",
            "v0.23.2",
            "v0.23.1",
            "v0.22.1",
            "v0.22.0",
            "v0.21.2",
            "v0.21.0",
            "v0.21",
            "v0.20.2",
            "v0.20.1",
            "v0.20.0",
            "v0.12.2",
            "v0.12.1",
            "v0.12.0",
            "v0.11.3",
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.6",
            "v0.10.5",
            "v0.10.4",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.4.0",
            "v0.3.3",
            "v0.2.2",
            "v0.2.1",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35451.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.286715775Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35451.json",
        "https://github.com/twentyhq/twenty/security/advisories/GHSA-7w89-7q26-gj7q",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-35451",
        "https://github.com/twentyhq/twenty/commit/8da69e0f77ea820a6845a4c3c025b6af3861d523"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35451.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-35451",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498106,
  "published_at": "2026-04-21T16:22:30.378+00:00"
}