p PatchFirst

CVE-2025-27794

CVE-2025-27794 · Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.8 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • framework

    Versions
    • < 1.8.10: Affected

    No fix published

  • flarum/core Packagist

    Versions
    • v0.1.0-beta
    • v0.1.0-beta.10
    • v0.1.0-beta.11
    • v0.1.0-beta.11.1
    • v0.1.0-beta.12
    • v0.1.0-beta.13
    • v0.1.0-beta.14
    • v0.1.0-beta.14.1
    • v0.1.0-beta.15
    • v0.1.0-beta.16
    • v0.1.0-beta.2
    • v0.1.0-beta.3
    • v0.1.0-beta.4
    • v0.1.0-beta.5
    • v0.1.0-beta.6
    • v0.1.0-beta.7
    • v0.1.0-beta.7.1
    • v0.1.0-beta.7.2
    • v0.1.0-beta.8
    • v0.1.0-beta.8.1
    • v0.1.0-beta.8.2
    • v0.1.0-beta.9
    • v1.0.0
    • v1.0.1
    • v1.0.2
    • v1.0.3
    • v1.0.4
    • v1.1.0
    • v1.1.1
    • v1.2.0
    • v1.2.1
    • v1.3.0
    • v1.3.1
    • v1.4.0
    • v1.4.1
    • v1.5.0
    • v1.6.0
    • v1.6.1
    • v1.6.2
    • v1.6.3
    • v1.7.0
    • v1.7.1
    • v1.7.2
    • v1.8.0
    • v1.8.1
    • v1.8.2
    • v1.8.3
    • v1.8.4
    • v1.8.5
    • v1.8.6
    • v1.8.7
    • v1.8.8
    • v1.8.9
    Affected ranges
    • ECOSYSTEM: < 1.8.10

    Update to 1.8.10

  • flarum/framework Packagist

    Versions
    • v0.1.0-beta
    • v0.1.0-beta.10
    • v0.1.0-beta.11
    • v0.1.0-beta.11.1
    • v0.1.0-beta.12
    • v0.1.0-beta.13
    • v0.1.0-beta.14
    • v0.1.0-beta.14.1
    • v0.1.0-beta.15
    • v0.1.0-beta.16
    • v0.1.0-beta.2
    • v0.1.0-beta.3
    • v0.1.0-beta.4
    • v0.1.0-beta.5
    • v0.1.0-beta.6
    • v0.1.0-beta.7
    • v0.1.0-beta.7.1
    • v0.1.0-beta.7.2
    • v0.1.0-beta.8
    • v0.1.0-beta.8.1
    • v0.1.0-beta.8.2
    • v0.1.0-beta.9
    • v1.0.0
    • v1.0.1
    • v1.0.2
    • v1.0.3
    • v1.0.4
    • v1.1.0
    • v1.1.1
    • v1.2.0
    • v1.2.1
    • v1.3.0
    • v1.3.1
    • v1.4.0
    • v1.5.0
    • v1.6.0
    • v1.6.1
    • v1.6.2
    • v1.6.3
    • v1.7.0
    • v1.7.1
    • v1.8.0
    • v1.8.1
    • v1.8.2
    • v1.8.3
    • v1.8.5
    • v1.8.6
    • v1.8.7
    • v1.8.8
    • v1.8.9
    Affected ranges
    • ECOSYSTEM: < 1.8.10

    Update to 1.8.10

Original sources

Check your server →