Lookup for vulnerable packages by Package URL.

Purlpkg:composer/flarum/core@0.1.0-beta.8
Typecomposer
Namespaceflarum
Namecore
Version0.1.0-beta.8
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.8.16
Latest_non_vulnerable_version2.0.0-rc.1
Affected_by_vulnerabilities
0
url VCID-9k8r-76x9-qucw
vulnerability_id VCID-9k8r-76x9-qucw
summary
Flarum notifications can leak restricted content
Using the notifications feature, one can read restricted/private content and bypass access checks that would be in place for such content.

The notification-sending component does not check that the subject of the notification can be seen by the receiver, and proceeds to send notifications through their different channels. The alerts do not leak data despite this as they are listed based on a visibility check, however, emails are still sent out.

This means that, for extensions which restrict access to posts, any actor can bypass the restriction by subscribing to the discussion if the [*Subscriptions*](https://extiverse.com/extension/flarum/subscriptions) extension is enabled.

### Impact
The attack allows the leaking of some posts in the forum database, including posts awaiting approval, posts in tags the user has no access to if they could subscribe to a discussion before it becomes private, and posts restricted by third-party extensions.

Other leaks could also happen for different notification subjects if some features allowed to receive specific types of notifications for restricted content.

All Flarum versions prior to v1.6.3 are affected.

### Patches
The vulnerability has been fixed and published as flarum/core v1.6.3. All communities running Flarum should upgrade as soon as possible to v1.6.3 using:

```
composer update --prefer-dist --no-dev -a -W
```
You can then confirm you run the latest version using:

```
composer show flarum/core
```

### Workarounds
Disable the Flarum Subscriptions extension or disable email notifications altogether.

**There is no other supported workaround for this issue for Flarum versions below 1.6.3.**

### For more information
For any questions or comments on this vulnerability please visit https://discuss.flarum.org/

For support questions create a discussion at https://discuss.flarum.org/t/support.

A reminder that if you ever become aware of a security issue in Flarum, please report it to us privately by emailing [security@flarum.org](mailto:security@flarum.org), and we will address it promptly.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-22488
reference_id
reference_type
scores
0
value 0.00196
scoring_system epss
scoring_elements 0.41416
published_at 2026-06-04T12:55:00Z
1
value 0.00196
scoring_system epss
scoring_elements 0.41491
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-22488
1
reference_url https://github.com/flarum/framework
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework
2
reference_url https://github.com/flarum/framework/commit/d0a2b95dca57d3dae9a0d77b610b1cb1d0b1766a
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:10Z/
url https://github.com/flarum/framework/commit/d0a2b95dca57d3dae9a0d77b610b1cb1d0b1766a
3
reference_url https://github.com/flarum/framework/releases/tag/v1.6.3
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework/releases/tag/v1.6.3
4
reference_url https://github.com/flarum/framework/security/advisories/GHSA-8gcg-vwmw-rxj4
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:10Z/
url https://github.com/flarum/framework/security/advisories/GHSA-8gcg-vwmw-rxj4
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-22488
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-22488
6
reference_url https://github.com/advisories/GHSA-8gcg-vwmw-rxj4
reference_id GHSA-8gcg-vwmw-rxj4
reference_type
scores
url https://github.com/advisories/GHSA-8gcg-vwmw-rxj4
fixed_packages
0
url pkg:composer/flarum/core@1.6.3
purl pkg:composer/flarum/core@1.6.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-akuy-drq1-hkap
1
vulnerability VCID-en38-mx5t-vbb9
2
vulnerability VCID-jnjt-mna6-2qhe
3
vulnerability VCID-vthb-u9cs-ckak
4
vulnerability VCID-yapt-ka6b-f3ba
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.6.3
aliases CVE-2023-22488, GHSA-8gcg-vwmw-rxj4, GMS-2023-10
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-9k8r-76x9-qucw
1
url VCID-akuy-drq1-hkap
vulnerability_id VCID-akuy-drq1-hkap
summary
Flarum's logout Route allows open redirects
The Flarum `/logout` route includes a redirect parameter that allows any third party to redirect users from a (trusted) domain of the Flarum installation to redirect to any link. Sample: `example.com/logout?return=https://google.com`. For logged-in users, the logout must be confirmed. Guests are immediately redirected. This could be used by spammers to redirect to a web address using a trusted domain of a running Flarum installation.

Some ecosystem extensions modifying the logout route have already been affected. Sample: https://discuss.flarum.org/d/22229-premium-wordpress-integration/526
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-21641
reference_id
reference_type
scores
0
value 0.39082
scoring_system epss
scoring_elements 0.9736
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-21641
1
reference_url https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-08T15:56:54Z/
url https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a
2
reference_url https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-08T15:56:54Z/
url https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-21641
reference_id CVE-2024-21641
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-21641
4
reference_url https://github.com/advisories/GHSA-733r-8xcp-w9mr
reference_id GHSA-733r-8xcp-w9mr
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-733r-8xcp-w9mr
5
reference_url https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr
reference_id GHSA-733r-8xcp-w9mr
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-08T15:56:54Z/
url https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr
fixed_packages
0
url pkg:composer/flarum/core@1.8.5
purl pkg:composer/flarum/core@1.8.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-jnjt-mna6-2qhe
1
vulnerability VCID-vthb-u9cs-ckak
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.8.5
aliases CVE-2024-21641, GHSA-733r-8xcp-w9mr
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-akuy-drq1-hkap
2
url VCID-en38-mx5t-vbb9
vulnerability_id VCID-en38-mx5t-vbb9
summary
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
flarum is a forum software package for building communities. In versions prior to 1.7.0 an admin account which has already been compromised by an attacker may use a vulnerability in the `LESS` parser which can be exploited to read sensitive files on the server through the use of path traversal techniques. An attacker can achieve this by providing an absolute path to a sensitive file in the custom `LESS` setting, which the `LESS` parser will then read. For example, an attacker could use the following code to read the contents of the `/etc/passwd` file on a linux machine. The scope of what files is vulnerable will depend on the permissions given to the running flarum process. The vulnerability has been addressed in version `1.7`. Users should upgrade to this version to mitigate the vulnerability. Users unable to upgrade may mitigate the vulnerability by ensuring that their admin accounts are secured with strong passwords and follow other best practices for account security. Additionally, users can limit the exposure of sensitive files on the server by implementing appropriate file permissions and access controls at the operating system level.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-27577
reference_id
reference_type
scores
0
value 0.00122
scoring_system epss
scoring_elements 0.30861
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-27577
1
reference_url https://github.com/flarum/flarum-core
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/flarum-core
2
reference_url https://github.com/flarum/flarum-core/releases/tag/v1.7.0
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/flarum-core/releases/tag/v1.7.0
3
reference_url https://github.com/flarum/framework/commit/1761660c98ea5a3e9665fb8e6041d1f2ee62a444
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
1
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-25T14:29:52Z/
url https://github.com/flarum/framework/commit/1761660c98ea5a3e9665fb8e6041d1f2ee62a444
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-27577
reference_id CVE-2023-27577
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-27577
5
reference_url https://github.com/advisories/GHSA-vhm8-wwrf-3gcw
reference_id GHSA-vhm8-wwrf-3gcw
reference_type
scores
url https://github.com/advisories/GHSA-vhm8-wwrf-3gcw
6
reference_url https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw
reference_id GHSA-vhm8-wwrf-3gcw
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
1
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-25T14:29:52Z/
url https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw
fixed_packages
0
url pkg:composer/flarum/core@1.7.0
purl pkg:composer/flarum/core@1.7.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-akuy-drq1-hkap
1
vulnerability VCID-jnjt-mna6-2qhe
2
vulnerability VCID-vthb-u9cs-ckak
3
vulnerability VCID-yapt-ka6b-f3ba
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.7.0
aliases CVE-2023-27577, GHSA-vhm8-wwrf-3gcw
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-en38-mx5t-vbb9
3
url VCID-jnjt-mna6-2qhe
vulnerability_id VCID-jnjt-mna6-2qhe
summary
Flarum: Path traversal in LESS parser via theme color settings (incomplete fix for CVE-2023-27577)
## Summary

Flarum's patch for [CVE-2023-27577](https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw) restricted the `@import` and `data-uri()` LESS features in the `custom_less` setting, but the same restriction was never applied to other settings registered as LESS config variables (for example `theme_primary_color` and `theme_secondary_color`, as well as any key registered via `Extend\Settings::registerLessConfigVar()`).

Those values are interpolated verbatim into the LESS source at compile time, allowing an authenticated administrator to craft a theme-color value that injects an arbitrary `@import` directive into the compiled `forum.css`. Because the underlying LESS parser honours `@import (inline) '<path>'`, an attacker can read arbitrary files reachable by the PHP process (local file inclusion) or trigger outbound HTTP(S) requests (server-side request forgery).

## Impact

An attacker who has compromised — or legitimately obtained — an administrator account can:

- **Read arbitrary local files** reachable by the PHP process (e.g. `/etc/passwd`, `.env`, config files containing database credentials, OAuth secrets, API keys).
- **Trigger outbound HTTP/HTTPS requests** from the Flarum host, enabling SSRF against internal services and cloud metadata endpoints such as `http://169.254.169.254/` (AWS IMDSv1, GCP, Azure).

The contents of the attacker-controlled import are embedded into the compiled `forum.css`, which is publicly served — so the attacker can retrieve whatever was read simply by fetching the CSS file.

This is a privilege-escalation vulnerability: a forum administrator is not intended to have host-level file read or access to internal network resources.

### Example payload

Submitted via `POST /api/settings` with an admin session:

```json
{ "theme_primary_color": "#4D698E;@import (inline) '/etc/passwd';" }
```

The setting is stored verbatim, interpolated into the LESS source on the next CSS compile, and the target file's contents appear in `/assets/forum.css`.

## Patches

- **`flarum/core` 1.8.16** — fix for the 1.x branch.
- **`flarum/core` 2.0.0-rc.1** — fix for the 2.x branch.

The fix extends the existing `@import` / `data-uri()` validation in `Flarum\Forum\ValidateCustomLess::whenSettingsSaving` to every dirty setting whose key is registered as a LESS config variable, not just `custom_less`.

## Workarounds

If upgrading is not immediately possible:

- Ensure administrator accounts are protected with strong, unique passwords and (where supported) two-factor authentication.
- Restrict administrator access to trusted users only.
- Review the forum's public `forum.css` for unexpected content that could indicate prior exploitation.

There is no configuration-level mitigation on affected versions — the fix requires the upgraded code.

## Resources

- [CVE-2023-27577](https://nvd.nist.gov/vuln/detail/CVE-2023-27577) — the original vulnerability whose patch was incomplete.
- [GHSA-vhm8-wwrf-3gcw](https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw) — the original advisory.

## Credit

Reported to the Flarum Foundation by **William (Liam) Snow IV** ([@LiamSnow](https://github.com/LiamSnow)), discovered during a graduate-level network security lab at Worcester Polytechnic Institute.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-41887
reference_id
reference_type
scores
0
value 0.00014
scoring_system epss
scoring_elements 0.02797
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-41887
1
reference_url https://github.com/flarum/framework
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework
2
reference_url https://github.com/flarum/framework/commit/2d90a1f19f0e46f8c7e1b07c48ba74b5e38f8410
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-08T19:26:06Z/
url https://github.com/flarum/framework/commit/2d90a1f19f0e46f8c7e1b07c48ba74b5e38f8410
3
reference_url https://github.com/flarum/framework/releases/tag/v1.8.16
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-08T19:26:06Z/
url https://github.com/flarum/framework/releases/tag/v1.8.16
4
reference_url https://github.com/flarum/framework/releases/tag/v2.0.0-rc.1
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-08T19:26:06Z/
url https://github.com/flarum/framework/releases/tag/v2.0.0-rc.1
5
reference_url https://github.com/flarum/framework/security/advisories/GHSA-xjvc-pw2r-6878
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-08T19:26:06Z/
url https://github.com/flarum/framework/security/advisories/GHSA-xjvc-pw2r-6878
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-41887
reference_id
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-41887
7
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-27577
reference_id CVE-2023-27577
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-27577
8
reference_url https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw
reference_id GHSA-vhm8-wwrf-3gcw
reference_type
scores
0
value 4.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw
9
reference_url https://github.com/advisories/GHSA-xjvc-pw2r-6878
reference_id GHSA-xjvc-pw2r-6878
reference_type
scores
url https://github.com/advisories/GHSA-xjvc-pw2r-6878
fixed_packages
0
url pkg:composer/flarum/core@1.8.16
purl pkg:composer/flarum/core@1.8.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.8.16
1
url pkg:composer/flarum/core@2.0.0-rc.1
purl pkg:composer/flarum/core@2.0.0-rc.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@2.0.0-rc.1
aliases CVE-2026-41887, GHSA-xjvc-pw2r-6878
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-jnjt-mna6-2qhe
4
url VCID-rv1d-9z9z-xuh2
vulnerability_id VCID-rv1d-9z9z-xuh2
summary
Flarum post mentions can be used to read any post on the forum without access control
Using the mentions feature provided by the flarum/mentions extension, users can mention any post ID on the forum with the special `@"<username>"#p<id>` syntax.

The following behavior never changes no matter if the actor should be able to read the mentioned post or not:

A URL to the mentioned post is inserted into the actor post HTML, leaking its discussion ID and post number.

The `mentionsPosts` relationship included in the `POST /api/posts` and `PATCH /api/posts/<id>` JSON responses leaks the full JSON:API payload of all mentioned posts without any access control. This includes the content, date, number and attributes added by other extensions.

An attacker only needs the ability to create new posts on the forum to exploit the vulnerability. This works even if new posts require approval. If they have the ability to edit posts, the attack can be performed even more discreetly by using a single post to scan any size of database and hiding the attack post content afterward.

### Impact
The attack allows the leaking of all posts in the forum database, including posts awaiting approval, posts in tags the user has no access to, and private discussions created by other extensions like FriendsOfFlarum Byobu. This also includes non-comment posts like tag changes or renaming events. 

The discussion payload is not leaked but using the mention HTML payload it's possible to extract the discussion ID of all posts and combine all posts back together into their original discussions even if the discussion title remains unknown.

All Flarum versions prior to `v1.6.3` are affected.

### Patches
The vulnerability has been fixed and published as flarum/core v1.6.3. All communities running Flarum have to upgrade as soon as possible to v1.6.3 using:

```
composer update --prefer-dist --no-dev -a -W
```
You can then confirm you run the latest version using:

```
composer show flarum/core
```

### Workarounds
Disable the mentions extension.

### For more information
For any questions or comments on this vulnerability please visit https://discuss.flarum.org/

For support questions create a discussion at https://discuss.flarum.org/t/support.

A reminder that if you ever become aware of a security issue in Flarum, please report it to us privately by emailing [security@flarum.org](mailto:security@flarum.org), and we will address it promptly.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-22487
reference_id
reference_type
scores
0
value 0.00207
scoring_system epss
scoring_elements 0.4317
published_at 2026-06-05T12:55:00Z
1
value 0.00207
scoring_system epss
scoring_elements 0.43096
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-22487
1
reference_url https://github.com/flarum/framework
reference_id
reference_type
scores
0
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework
2
reference_url https://github.com/flarum/framework/commit/ab1c868b978e8b0d09a5d682c54665dae17d0985
reference_id
reference_type
scores
0
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:01:41Z/
url https://github.com/flarum/framework/commit/ab1c868b978e8b0d09a5d682c54665dae17d0985
3
reference_url https://github.com/flarum/framework/releases/tag/v1.6.3
reference_id
reference_type
scores
0
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework/releases/tag/v1.6.3
4
reference_url https://github.com/flarum/framework/security/advisories/GHSA-22m9-m3ww-53h3
reference_id
reference_type
scores
0
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:01:41Z/
url https://github.com/flarum/framework/security/advisories/GHSA-22m9-m3ww-53h3
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-22487
reference_id
reference_type
scores
0
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-22487
6
reference_url https://github.com/advisories/GHSA-22m9-m3ww-53h3
reference_id GHSA-22m9-m3ww-53h3
reference_type
scores
url https://github.com/advisories/GHSA-22m9-m3ww-53h3
fixed_packages
0
url pkg:composer/flarum/core@1.6.3
purl pkg:composer/flarum/core@1.6.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-akuy-drq1-hkap
1
vulnerability VCID-en38-mx5t-vbb9
2
vulnerability VCID-jnjt-mna6-2qhe
3
vulnerability VCID-vthb-u9cs-ckak
4
vulnerability VCID-yapt-ka6b-f3ba
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.6.3
aliases CVE-2023-22487, GHSA-22m9-m3ww-53h3, GMS-2023-12
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-rv1d-9z9z-xuh2
5
url VCID-vthb-u9cs-ckak
vulnerability_id VCID-vthb-u9cs-ckak
summary
Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite
A session hijacking vulnerability exists 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**:
- Attacker must control **any subdomain** under the parent domain (e.g., `evil.host.com` or `x.y.host.com`).
- Parent domain must **not** be on the [Public Suffix List](https://publicsuffix.org/).

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.

---
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-27794
reference_id
reference_type
scores
0
value 0.00377
scoring_system epss
scoring_elements 0.59635
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2025-27794
1
reference_url https://github.com/flarum/framework
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework
2
reference_url https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-12T15:26:50Z/
url https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402
3
reference_url https://github.com/flarum/framework/releases/tag/v1.8.10
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-12T15:26:50Z/
url https://github.com/flarum/framework/releases/tag/v1.8.10
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-27794
reference_id CVE-2025-27794
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-27794
5
reference_url https://github.com/advisories/GHSA-hg9j-64wp-m9px
reference_id GHSA-hg9j-64wp-m9px
reference_type
scores
url https://github.com/advisories/GHSA-hg9j-64wp-m9px
6
reference_url https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px
reference_id GHSA-hg9j-64wp-m9px
reference_type
scores
0
value 6.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-12T15:26:50Z/
url https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px
fixed_packages
0
url pkg:composer/flarum/core@1.8.10
purl pkg:composer/flarum/core@1.8.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-jnjt-mna6-2qhe
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.8.10
1
url pkg:composer/flarum/core@2.0.0-beta.1
purl pkg:composer/flarum/core@2.0.0-beta.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-jnjt-mna6-2qhe
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@2.0.0-beta.1
aliases CVE-2025-27794, GHSA-hg9j-64wp-m9px
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-vthb-u9cs-ckak
6
url VCID-yapt-ka6b-f3ba
vulnerability_id VCID-yapt-ka6b-f3ba
summary Flarum is an open source forum software. Flarum is affected by a vulnerability that allows an attacker to conduct a Blind Server-Side Request Forgery (SSRF) attack or disclose any file on the server, even with a basic user account on any Flarum forum. By uploading a file containing a URL and spoofing the MIME type, an attacker can manipulate the application to execute unintended actions. The vulnerability is due to the behavior of the `intervention/image` package, which attempts to interpret the supplied file contents as a URL, which then fetches its contents. This allows an attacker to exploit the vulnerability to perform SSRF attacks, disclose local file contents, or conduct a blind oracle attack. This has been patched in Flarum version 1.8.0. Users are advised to upgrade. Users unable to upgrade may disable PHP's `allow_url_fopen` which will prevent the fetching of external files via URLs as a temporary workaround for the SSRF aspect of the vulnerability.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-40033
reference_id
reference_type
scores
0
value 0.00195
scoring_system epss
scoring_elements 0.41363
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-40033
1
reference_url https://github.com/flarum/framework
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/flarum/framework
2
reference_url https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-02T15:56:22Z/
url https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-40033
reference_id CVE-2023-40033
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-40033
4
reference_url https://github.com/advisories/GHSA-67c6-q4j4-hccg
reference_id GHSA-67c6-q4j4-hccg
reference_type
scores
url https://github.com/advisories/GHSA-67c6-q4j4-hccg
5
reference_url https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg
reference_id GHSA-67c6-q4j4-hccg
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-02T15:56:22Z/
url https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg
fixed_packages
0
url pkg:composer/flarum/core@1.8.0
purl pkg:composer/flarum/core@1.8.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-akuy-drq1-hkap
1
vulnerability VCID-jnjt-mna6-2qhe
2
vulnerability VCID-vthb-u9cs-ckak
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.8.0
aliases CVE-2023-40033, GHSA-67c6-q4j4-hccg
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-yapt-ka6b-f3ba
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@0.1.0-beta.8