Stored Cross-site Scripting (XSS) vulnerability in Outline editor
Outline is an open source, collaborative document editor. A type confusion issue was found in ProseMirror’s rendering process that leads to a Stored Cross-Site Scripting (XSS) vulnerability in Outline. An authenticated user can create a document containing a malicious JavaScript payload. When other users view this document, the malicious Javascript can execute in the origin of Outline. Outline includes CSP rules to prevent third-party code execution, however in the case of self-hosting and having your file storage on the same domain as Outline a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions. This issue has been addressed in release version 0.77.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-40626
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:17 UTC · Revision 1
Source evidence
Stored Cross-site Scripting (XSS) vulnerability in Outline editor
core-osv · Original sourcePublished 16 Jul 2024, 17:03 UTC
Outline is an open source, collaborative document editor. A type confusion issue was found in ProseMirror’s rendering process that leads to a Stored Cross-Site Scripting (XSS) vulnerability in Outline. An authenticated user can create a document containing a malicious JavaScript payload. When other users view this document, the malicious Javascript can execute in the origin of Outline. Outline includes CSP rules to prevent third-party code execution, however in the case of self-hosting and having your file storage on the same domain as Outline a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions. This issue has been addressed in release version 0.77.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
osv:CVE-2024-40626
Complete source record
{
"id": "47102aff0850410e904b5203eef06de022dc6f11ab863e9fb0a61c740435dc9a",
"url": "https://osv.dev/vulnerability/CVE-2024-40626",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Stored Cross-site Scripting (XSS) vulnerability in Outline editor",
"summary": "Outline is an open source, collaborative document editor. A type confusion issue was found in ProseMirror’s rendering process that leads to a Stored Cross-Site Scripting (XSS) vulnerability in Outline. An authenticated user can create a document containing a malicious JavaScript payload. When other users view this document, the malicious Javascript can execute in the origin of Outline. Outline includes CSP rules to prevent third-party code execution, however in the case of self-hosting and having your file storage on the same domain as Outline a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions. This issue has been addressed in release version 0.77.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
"evidence": "osv:CVE-2024-40626",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-40626",
"aliases": [
"CVE-2024-40626",
"GHSA-888c-mvg8-v6wh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/outline/outline",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "07ae7fca81f738e5cd40488ecad6d42073aac27f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.77.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:getoutline:outline:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.77.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.77.2",
"v0.77.1",
"v0.77.0",
"v0.76.2-0",
"v0.76.1",
"v0.76.0",
"v0.76.0-2",
"v0.76.0-1",
"v0.76.0-0",
"v0.75.2",
"v0.75.1",
"v0.75.0",
"v0.73.1",
"v0.73.0",
"v0.72.0",
"v0.71.0",
"v0.70.2",
"v0.70.1",
"v0.70.0",
"v0.69.1",
"v0.69.0",
"v0.67.2",
"v0.67.1",
"v0.67.0",
"v0.67.0-pre.1",
"v0.66.0",
"v0.65.1",
"v0.65.0",
"v0.64.3",
"v0.64.2",
"v0.64.1",
"v0.64.0",
"v0.63.0",
"v0.62.0",
"v0.61.0",
"v0.60.1",
"v0.60.0",
"v0.59.0",
"v0.58.0",
"v0.57.0",
"v0.56.0",
"v0.55.0",
"v0.54.0",
"v0.53.1",
"v0.53.0",
"v0.52.0",
"v0.51.0",
"v0.50.0",
"v0.49.0",
"v0.48.1",
"v0.48.0",
"v0.46.0",
"v0.45.0",
"v0.44.0",
"v0.43.3",
"v0.43.2",
"v0.43.1",
"v0.43.0",
"v0.42.2",
"v0.42.1",
"v0.42.0",
"v0.41.0",
"v0.40.2",
"v0.40.1",
"v0.40.0",
"v0.39.0",
"0.39.0",
"v0.38.1",
"v0.38.0",
"v0.37.0",
"v0.36.1",
"v0.36.0",
"v0.35.0",
"v0.34.0",
"v0.33.0",
"v0.32.0",
"v0.31.0",
"v0.30.0",
"v0.29.0",
"v0.28.0",
"v0.27.0",
"v0.26.0",
"v0.25.0",
"v0.24.0",
"v0.23.0",
"v0.22.1",
"v0.22.0",
"v0.21.0",
"v0.20.0",
"v0.19.1",
"v0.19.0",
"v0.18.0",
"v0.16.3",
"v0.16.2",
"v0.17.0",
"v0.16.1",
"0.16.0",
"v0.15.1",
"v0.15.0",
"v0.14.0",
"v0.13.5",
"v0.13.4",
"v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.9.0",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.1",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40626.json"
}
}
],
"modified": "2026-10-28T02:30:41.140444763Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40626.json",
"https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40626"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40626.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40626",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508967,
"published_at": "2024-07-16T17:03:39.883+00:00"
}