SB2025020536 - Multiple vulnerabilities in Discourse
Published: February 5, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2024-53266)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within topic titles when CSP disabled. A remote user can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Improper Preservation of Permissions (CVE-ID: CVE-2024-53994)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to improper preservation of permissions. A remote user with disable chat in preferences can still be reachable in some cases.
3) Input validation error (CVE-ID: CVE-2024-53851)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input in inline oneboxes. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-hw4j-4hg7-22h2
- https://github.com/discourse/discourse/security/advisories/GHSA-mrpw-gwj7-98r6
- https://github.com/discourse/discourse/commit/416ec83ae57924d721e6e374f4cda78bd77a4599
- https://github.com/discourse/discourse/security/advisories/GHSA-49rv-574x-wgpc