{"id":"CVE-2023-22454","published":"2023-01-05T19:58:36Z","modified":"2025-03-10T21:31:46Z","title":"Discourse vulnerable to Cross-site Scripting through pending post titles descriptions","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, pending post titles can be used for cross-site scripting attacks. Pending posts can be created by unprivileged users when a category has the \"require moderator approval of all new topics\" setting set. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. A patch is available in versions 2.8.14 and 3.0.0.beta16.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.49773,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-ggq4-4qxc-c462","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/c0e2d7badac276d82a4056a994b48d68a8993a12","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 2.8.14",">= 2.9.0.beta0, < 3.0.0.beta16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-10T20:58:50.831732Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-26616","exploited":false,"provenance":"source"}}