Vulnerability in Discourse
CVE-2021-41163
Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution. This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.198, 97.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Discourse — versions beta < 2.8.0.beta7, tests-passed < 2.8.0.beta7, 2.8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- ibrahmsql/CVE-2021-41163 (3 stars, last pushed 2025-07-05)
- ibrahmsql/discourse-CVE-2021-41163 (2 stars, last pushed 2025-07-05)
Also mentioned in 2 other repositories (ibrahmsql/discoursemap, malwaremily/infosec-news-briefs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/discourse/discourse/security/advisories/GHSA-jcjx-pvpc-qgwq (Third Party Advisory)
- github.com/discourse/discourse/commit/fa3c46cf079d28b086fe1025349bb00223a5d5e9 (Patch, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.