{"id":"CVE-2024-37165","state":"PUBLISHED","title":"Discourse has an XSS via Onebox system","description":"Discourse is an open source discussion platform. Prior to 3.2.3 and 3.3.0.beta3, improperly sanitized Onebox data could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. This vulnerability is fixed in 3.2.3 and 3.3.0.beta3.","publishedAt":"2024-07-30T14:10:24.804Z","updatedAt":"2024-08-02T03:50:55.188Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 3.2.3","status":"affected"},{"version":">= 3.3.0.beta1, < 3.3.0.beta3","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9","https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd","https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/37xxx/CVE-2024-37165.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-37165","state":"PUBLISHED","datePublished":"2024-07-30T14:10:24.804Z","dateUpdated":"2024-08-02T03:50:55.188Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-03T17:29:38.330Z"},"containers":{"cna":{"title":"Discourse has an XSS via Onebox system","descriptions":[{"lang":"en","value":"Discourse is an open source discussion platform. Prior to 3.2.3 and 3.3.0.beta3, improperly sanitized Onebox data could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. This vulnerability is fixed in 3.2.3 and 3.3.0.beta3."}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 3.2.3","status":"affected"},{"version":">= 3.3.0.beta1, < 3.3.0.beta3","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9","name":"https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd","name":"https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2","name":"https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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":"2024-07-30T14:14:29.632Z"},"source":{"advisory":"GHSA-cx83-5p6x-9qh9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-30T15:43:02.418896Z","id":"CVE-2024-37165","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-30T15:44:18.468Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9","name":"https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd","name":"https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2","name":"https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:50:55.188Z"}}]}}}