{"id":"CVE-2025-61598","published":"2025-10-28T20:38:54Z","modified":"2025-10-29T13:43:00Z","title":"Discourse is missing Cache-Control response header on error responses","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open source discussion platform. Version before 3.6.2 and 3.6.0.beta2, default Cache-Control response header with value no-store, no-cache was missing from error responses. This may caused unintended caching of those responses by proxies potentially leading to cache poisoning attacks. This vulnerability is fixed in 3.6.2 and 3.6.0.beta2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00301,"percentile":0.23194,"provenance":"source"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-jp9x-wwv6-cv3j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/3ea1b663c82c067e5ca778db846bad1e082ba6cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/fd567af7bf5a15c70772021acbdf5d38487a31bc","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":4.64},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 3.6.2",">= 3.6.0.beta1, < 3.6.0.beta2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-10-29T13:41:37.647894Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-36558","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2021-41271","parents":[{"from":"CVE-2021-41271","to":"CVE-2025-61598","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/middleware/discourse_public_exceptions.rb"],"commits":["https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","https://github.com/discourse/discourse/commit/3ea1b663c82c067e5ca778db846bad1e082ba6cd","https://github.com/discourse/discourse/commit/fd567af7bf5a15c70772021acbdf5d38487a31bc"],"basis":"shared function","functions":["call"]}]},{"from":"CVE-2021-43794","to":"CVE-2025-61598","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/middleware/discourse_public_exceptions.rb"],"commits":["https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","https://github.com/discourse/discourse/commit/3ea1b663c82c067e5ca778db846bad1e082ba6cd","https://github.com/discourse/discourse/commit/fd567af7bf5a15c70772021acbdf5d38487a31bc"],"basis":"shared function","functions":["call"]}]}]}}