Products
Discourse
- < 3.2.3 on the `stable` branch
- < 3.3.0.beta3 on the `tests-passed` branch
Source
security-advisories@github.com
Tags
CVE-2024-35234 details
Last Modified : July 3, 2024, 7:15 p.m.
Description
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.
CVSS Score
1 | 2 | 3 | 4.2 | 5 | 6 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
LOW
Base Score
4.2
Exploitability Score
1.6
Impact Score
2.5
Base Severity
MEDIUM
Vector String : CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L
References
URL | Source |
---|---|
https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd | security-advisories@github.com |
https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2 | security-advisories@github.com |
https://github.com/discourse/discourse/security/advisories/GHSA-5chg-hm8c-wc58 | security-advisories@github.com |