We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-48877

Discourse vulnerable to auto-executing of third-party code in embedded CodePen iframe



Description

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`.

Reserved 2025-05-27 | Published 2025-06-09 | Updated 2025-06-09 | Assigner GitHub_M


HIGH: 8.1CVSS: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

Problem types

CWE-1038: Insecure Automated Optimizations

Product status

< 3.4.4
affected

< 3.5.0.beta5
affected

< 3.5.0.beta6-dev
affected

References

github.com/...course/security/advisories/GHSA-cm93-6m2m-cjcv

cve.org (CVE-2025-48877)

nvd.nist.gov (CVE-2025-48877)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-48877

Support options

Helpdesk Chat, Email, Knowledgebase