CVE-2025-48877
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`.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.1
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
- EPSS probability
- 0.38%
- CWE
- CWE-1038
- Published
- 2025-06-09
- Last modified
- 2026-03-13
Affected products
- discourse discourse
- discourse discourse
- discourse discourse
Weakness type
Related vulnerabilities
- CVE-2023-52971 — MariaDB Server 10.10 through 10.11.* and 11.0 through 11.4.* crashes in...
- CVE-2023-52970 — MariaDB Server 10.4 through 10.5.*, 10.6 through 10.6.*, 10.7 through 10.11.*, 11.0 through 11.0.*,...
- CVE-2023-52969 — MariaDB Server 10.4 through 10.5.*, 10.6 through 10.6.*, 10.7 through 10.11.*, and 11.0 through...
- CVE-2022-31220 — Dell BIOS versions contain an Unchecked Return Value vulnerability. A local authenticated...
- CVE-2022-26861 — Dell BIOS versions contain an Insecure Automated Optimization vulnerability. A local authenticated...