{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-22454","id":"CVE-2023-22454","title":"Discourse vulnerable to Cross-site Scripting through pending post titles descriptions","description":"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 ","descriptionLong":"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.","published":"2023-01-05T19:58:36.355Z","updated":"2026-10-28T02:31:10.736246349Z","reserved":"2022-12-29T03:00:40.877Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["discourse"],"affectedProducts":[{"vendor":"discourse","product":"discourse","defaultStatus":null,"versions":[{"version":"< 2.8.14","status":"affected"},{"version":">= 2.9.0.beta0, < 3.0.0.beta16","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["BIT-discourse-2023-22454","GHSA-ggq4-4qxc-c462"],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-ggq4-4qxc-c462","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/discourse/discourse/commit/c0e2d7badac276d82a4056a994b48d68a8993a12","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22454.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22454","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00618,"epssPercentile":0.50416,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-22454","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22454","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-22454","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-22454","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}