CVE-2025-48877
Last modified
CVE-2025-48877 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Discourse | Discourse | < 3.4.4 | — |
| Discourse | Discourse | < 3.5.0 | — |
| Discourse | Discourse | 3.5.0 | Beta1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-48877?
How severe is CVE-2025-48877?
How do I fix CVE-2025-48877?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-48871Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-48872Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-48873Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-48874Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-48875FreeScout is a free self-hosted help desk and shared mailbox…5.4
- CVE-2025-48876Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2025-48878Combodo iTop is a web based IT service management tool. In v…4.3
- CVE-2025-48879OctoPrint versions up until and including 1.11.1 contain a v…6.5
- CVE-2025-4888A vulnerability, which was classified as critical, was found…7.8
- CVE-2025-48880FreeScout is a free self-hosted help desk and shared mailbox…6.6
- CVE-2025-48881Valtimo is a platform for Business Process Automation. In ve…8.3
- CVE-2025-48882PHPOffice Math is a library that provides a set of classes t…8.7
Are you affected by CVE-2025-48877?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
