{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-25172","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-02-03T16:59:18.247Z","datePublished":"2023-03-17T16:07:27.668Z","dateUpdated":"2025-02-25T14:54:25.650Z"},"containers":{"cna":{"title":"Discourse vulnerable to Cross-site Scripting - user name displayed on post","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp"},{"name":"https://github.com/discourse/discourse/pull/20008","tags":["x_refsource_MISC"],"url":"https://github.com/discourse/discourse/pull/20008"},{"name":"https://github.com/discourse/discourse/pull/20009","tags":["x_refsource_MISC"],"url":"https://github.com/discourse/discourse/pull/20009"},{"name":"https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915","tags":["x_refsource_MISC"],"url":"https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915"},{"name":"https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a","tags":["x_refsource_MISC"],"url":"https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a"}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"stable < 3.0.1","status":"affected"},{"version":"beta < 3.1.0.beta2","status":"affected"},{"version":"tests-passed < 3.1.0.beta2","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-03-17T16:07:27.668Z"},"descriptions":[{"lang":"en","value":"Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, a maliciously crafted URL can be included in a user's full name field to to carry out cross-site scripting attacks on sites with a disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. The vulnerability is patched in version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches. As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse."}],"source":{"advisory":"GHSA-7pm2-prxw-wrvp","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T11:18:36.267Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp"},{"name":"https://github.com/discourse/discourse/pull/20008","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/discourse/discourse/pull/20008"},{"name":"https://github.com/discourse/discourse/pull/20009","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/discourse/discourse/pull/20009"},{"name":"https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915"},{"name":"https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:28:58.686803Z","id":"CVE-2023-25172","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-25T14:54:25.650Z"}}]}}