CVE-2025-27794
MEDIUM 6.8CVSS 3.1Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite
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.
- Published
- 12 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-hg9j-64wp-m9px
- Sources
- NVDJSONOSV GHSA-hg9j-64wp-m9pxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flarum | flarumcpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:* |
< 1.8.0 | 1.8.0 |
| OSV | Packagist | flarum/core | < 1.8.10 | 1.8.10 |
| OSV | Packagist | flarum/framework | < 1.8.10 | 1.8.10 |
References
- https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402 · Patch, WEB
- https://github.com/flarum/framework/releases/tag/v1.8.10 · Release Notes, WEB
- https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27794 · ADVISORY
- https://github.com/flarum/framework · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 12 Mar 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Mar 2025)