{"id":"CVE-2024-40626","state":"PUBLISHED","title":"Stored Cross-site Scripting (XSS) vulnerability in Outline editor","description":"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.\n","publishedAt":"2024-07-16T17:03:39.883Z","updatedAt":"2024-08-02T04:33:11.960Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["outline outline"],"affected":[{"vendor":"outline","product":"outline","versions":[{"version":"< 0.77.3","status":"affected"}]}],"references":["https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/40xxx/CVE-2024-40626.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-40626","state":"PUBLISHED","datePublished":"2024-07-16T17:03:39.883Z","dateUpdated":"2024-08-02T04:33:11.960Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-07-08T16:13:15.510Z"},"containers":{"cna":{"title":"Stored Cross-site Scripting (XSS) vulnerability in Outline editor","descriptions":[{"lang":"en","value":"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.\n"}],"affected":[{"vendor":"outline","product":"outline","versions":[{"version":"< 0.77.3","status":"affected"}]}],"references":[{"url":"https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh","name":"https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-07-16T17:03:39.883Z"},"source":{"advisory":"GHSA-888c-mvg8-v6wh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"getoutline","product":"outline","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.77.3","versionType":"custom"}],"cpes":["cpe:2.3:a:getoutline:outline:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-16T18:16:32.464561Z","id":"CVE-2024-40626","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-16T18:22:19.680Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh","name":"https://github.com/outline/outline/security/advisories/GHSA-888c-mvg8-v6wh","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:33:11.960Z"}}]}}}