CVE-2025-27794

Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite

Description

Flarum is open-source forum software. A session hijacking vulnerability exists in versions prior to 1.8.10 when an attacker-controlled authoritative subdomain under a parent domain (e.g., `subdomain.host.com`) sets cookies scoped to the parent domain (`.host.com`). This allows session token replacement for applications hosted on sibling subdomains (e.g., `community.host.com`) if session tokens aren't rotated post-authentication. Key Constraints are that the attacker must control any subdomain under the parent domain (e.g., `evil.host.com` or `x.y.host.com`), and the parent domain must not be on the Public Suffix List. Due to non-existent session token rotation after authenticating we can theoretically reproduce the vulnerability by using browser dev tools, but due to the browser's security measures this does not seem to be exploitable as described. Version 1.8.10 contains a patch for the issue.

Category

6.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.07%
Vendor Advisory github.com
Affected: flarum framework
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-27794?
CVE-2025-27794 has been scored as a medium severity vulnerability.
How to fix CVE-2025-27794?
To fix CVE-2025-27794, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-27794 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-27794 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-27794?
CVE-2025-27794 affects flarum framework.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.