CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Discourse

CVE-2025-48877
Discourse vulnerability

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

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Discourse. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Discourse products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.