CVE-2025-48877
June 09, 2025
Discourse is an open-source discussion platform. Prior to version 3.4.4 of the "stable" branch, version 3.5.0.beta5 of the "beta" branch, and version 3.5.0.beta6-dev of the "tests-passed" branch, Codepen is present in the default "allowed_iframes" site setting, and it can potentially auto-run arbitrary JS in the iframe scope, which is unintended. This issue is patched in version 3.4.4 of the "stable" branch, version 3.5.0.beta5 of the "beta" branch, and version 3.5.0.beta6-dev of the "tests-passed" branch. As a workaround, the Codepen prefix can be removed from a site's "allowed_iframes".
Affected Packages
https://github.com/discourse/discourse.git (GITHUB):
Affected version(s) >=v1.0.0 <v3.4.4Fix Suggestion:
Update to version v3.4.4Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Insecure Automated Optimizations
EPSS
Base Score:
0.16