{"id":"CVE-2025-46824","state":"PUBLISHED","title":"Discourse Code Review Plugin vulnerable to XSS via auto link commits","description":"The Discourse Code Review Plugin allows users to review GitHub commits on Discourse. Prior to commit eed3a80, an attacker can execute arbitrary JavaScript on users' browsers by posting links to malicious GitHub commits. This problem is patched in commit eed3a80 of the discourse-code-review plugin. As a workaround, one may disable the plugin.","publishedAt":"2025-05-07T17:37:56.214Z","updatedAt":"2025-08-20T19:46:09.955Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse-code-review"],"affected":[{"vendor":"discourse","product":"discourse-code-review","versions":[{"version":"< eed3a80","status":"affected"}]}],"references":["https://github.com/discourse/discourse-code-review/security/advisories/GHSA-358v-cwvc-gxh5","https://github.com/discourse/discourse-code-review/commit/eed3a801f8fee217fe782212d8950eb1bd236e43","https://www.vicarius.io/vsociety/posts/cve-2025-46824-detect-discourse-plugin-vulnerability","https://www.vicarius.io/vsociety/posts/cve-2025-46824-mitigate-discourse-plugin-vulnerability"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:17.366Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/46xxx/CVE-2025-46824.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-46824","state":"PUBLISHED","datePublished":"2025-05-07T17:37:56.214Z","dateUpdated":"2025-08-20T19:46:09.955Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-04-30T19:41:58.134Z"},"containers":{"cna":{"title":"Discourse Code Review Plugin vulnerable to XSS via auto link commits","descriptions":[{"lang":"en","value":"The Discourse Code Review Plugin allows users to review GitHub commits on Discourse. Prior to commit eed3a80, an attacker can execute arbitrary JavaScript on users' browsers by posting links to malicious GitHub commits. This problem is patched in commit eed3a80 of the discourse-code-review plugin. As a workaround, one may disable the plugin."}],"affected":[{"vendor":"discourse","product":"discourse-code-review","versions":[{"version":"< eed3a80","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse-code-review/security/advisories/GHSA-358v-cwvc-gxh5","name":"https://github.com/discourse/discourse-code-review/security/advisories/GHSA-358v-cwvc-gxh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse-code-review/commit/eed3a801f8fee217fe782212d8950eb1bd236e43","name":"https://github.com/discourse/discourse-code-review/commit/eed3a801f8fee217fe782212d8950eb1bd236e43","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/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":"2025-05-07T17:37:56.214Z"},"source":{"advisory":"GHSA-358v-cwvc-gxh5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-07T18:15:19.428158Z","id":"CVE-2025-46824","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":"2025-05-07T18:19:36.291Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-46824-detect-discourse-plugin-vulnerability"},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-46824-mitigate-discourse-plugin-vulnerability"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-08-20T19:46:09.955Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}