{"id":"CVE-2025-48877","published":"2025-06-09T12:36:29Z","modified":"2025-06-09T15:17:08Z","title":"Discourse vulnerable to auto-executing of third-party code in embedded CodePen iframe","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00426,"percentile":0.37758,"provenance":"source"},"cwes":[{"id":"CWE-1038","name":"Insecure Automated Optimizations"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-cm93-6m2m-cjcv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.55},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 3.4.4","< 3.5.0.beta5","< 3.5.0.beta6-dev"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-09T15:11:20.634452Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-17469","exploited":false,"provenance":"source"}}