{"id":"CVE-2023-26040","state":"PUBLISHED","title":"Discourse chat messages susceptible to Cross-site Scripting through chat excerpts","description":"Discourse is an open-source discussion platform. Between versions 3.1.0.beta2 and 3.1.0.beta3 of the `tests-passed` branch, editing or responding to a chat message containing malicious content could lead to a cross-site scripting attack. This issue is patched in version 3.1.0.beta3 of the `tests-passed` branch. There are no known workarounds.","publishedAt":"2023-03-17T14:45:35.889Z","updatedAt":"2025-02-25T14:54:32.522Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"tests-passed > 3.1.0.beta2, < 3.1.0.beta3","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26040","state":"PUBLISHED","datePublished":"2023-03-17T14:45:35.889Z","dateUpdated":"2025-02-25T14:54:32.522Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-02-17T22:44:03.149Z"},"containers":{"cna":{"title":"Discourse chat messages susceptible to Cross-site Scripting through chat excerpts","descriptions":[{"lang":"en","value":"Discourse is an open-source discussion platform. Between versions 3.1.0.beta2 and 3.1.0.beta3 of the `tests-passed` branch, editing or responding to a chat message containing malicious content could lead to a cross-site scripting attack. This issue is patched in version 3.1.0.beta3 of the `tests-passed` branch. There are no known workarounds."}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"tests-passed > 3.1.0.beta2, < 3.1.0.beta3","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","name":"https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70","name":"https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","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":"2023-03-17T14:45:35.889Z"},"source":{"advisory":"GHSA-ccfc-qpmp-gq87","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","name":"https://github.com/discourse/discourse/security/advisories/GHSA-ccfc-qpmp-gq87","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70","name":"https://github.com/discourse/discourse/commit/a373bf2a01488c206e7feb28a9d2361b22ce6e70","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.596Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:35.141974Z","id":"CVE-2023-26040","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:54:32.522Z"}}]}}}