CVE Catalog

CVE-2023-37467

MediumCVSS 6.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

23th percentile - higher than 23% of all known CVEs

Summary

In the Discourse discussion platform prior to version 3.1.0.beta7 of the `beta` and `tests-passed` branches, a CSP (Content Security Policy) nonce reuse vulnerability was discovered that could allow cross-site scripting (XSS) attacks to bypass CSP protection for anonymous users. Version 3.1.0.beta7 contains a patch.

Risk Assessment

This vulnerability could lead to serious XSS attacks that may bypass CSP protection, posing a threat to the security of anonymous user data. Logged-in users are not affected by this risk.

Recommendation

It is recommended to upgrade to version 3.1.0.beta7 or later to patch this vulnerability. Alternatively, disabling Google Tag Manager can minimize the risk.

Original NVD description (English source)

Discourse is an open source discussion platform. Prior to version 3.1.0.beta7 of the `beta` and `tests-passed` branches, a CSP (Content Security Policy) nonce reuse vulnerability was discovered could allow cross-site scripting (XSS) attacks to bypass CSP protection for anonymous (i.e. unauthenticated) users. There are no known XSS vectors at the moment, but should one be discovered, this vulnerability would allow the XSS attack to bypass CSP and execute successfully. This vulnerability isn't applicable to logged-in users. Version 3.1.0.beta7 contains a patch. The stable branch doesn't have this vulnerability. A workaround to prevent the vulnerability is to disable Google Tag Manager, i.e., unset the `gtm container id` setting.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS