Anonymous cache poisoning via XHR requests in Discourse
Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-47773
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:34 UTC · Revision 1
Source evidence
Anonymous cache poisoning via XHR requests in Discourse
core-osv · Original sourcePublished 8 Oct 2024, 18:01 UTC
Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
osv:CVE-2024-47773
Complete source record
{
"id": "6bd37cb0e544ea25ad2249a7515ae03f3294d4bf99cb9c1d821a7ca190f85092",
"url": "https://osv.dev/vulnerability/CVE-2024-47773",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Anonymous cache poisoning via XHR requests in Discourse",
"summary": "Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.",
"evidence": "osv:CVE-2024-47773",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-47773",
"aliases": [
"BIT-discourse-2024-47773",
"CVE-2024-47773",
"GHSA-58vv-9j8h-hw2v"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/discourse/discourse",
"type": "GIT",
"events": [
{
"introduced": "c5f9a300d8ef7ad6e65b49705969c4bab231dc04"
},
{
"fixed": "c5f9a300d8ef7ad6e65b49705969c4bab231dc04"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "stable: < 3.3.2"
},
{
"last_affected": "stable: < 3.3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "tests-passed: < 3.4.0.beta2"
},
{
"last_affected": "tests-passed: < 3.4.0.beta2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"stable: < 3.3.2",
"tests-passed: < 3.4.0.beta2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47773.json"
}
}
],
"modified": "2026-10-28T02:30:31.512706994Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47773.json",
"https://github.com/discourse/discourse/security/advisories/GHSA-58vv-9j8h-hw2v",
"https://nvd.nist.gov/vuln/detail/CVE-2024-47773"
],
"provider_metadata": {
"cwe_ids": [
"CWE-610"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47773.json"
}
},
"related_cves": [
{
"value": "CVE-2024-47773",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498497,
"published_at": "2024-10-08T18:01:14.063+00:00"
}