Use of Web Browser Cache Containing Sensitive Information in Discourse - CVE-2022-31182

 

Use of Web Browser Cache Containing Sensitive Information in Discourse - CVE-2022-31182

Published: July 27, 2022 / Updated: July 1, 2026


Vulnerability identifier: #VU136066
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31182
CWE-ID: CWE-525
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper cache control in Discourse's default NGINX proxy configuration when handling maliciously formed requests for static assets. A remote attacker can send a specially crafted request to cause a denial of service.

Error responses for static assets may be cached.


Affected software

Discourse

How to mitigate CVE-2022-31182

Install security update from vendor's website.

Discourse - addressed in versions 2.8.7, 2.9.0 beta8

External References

Related Security Bulletins