CVE-2023-40033
Server-Side Request Forgery via Avatar upload in flarum
Also known as GHSA-67c6-q4j4-hccg
Mitigation
- Upgrade flarum/core to 1.8.0 or later.
- Upgrade flarum/framework to 1.8.0 or later.
Who should check
- Projects that depend on Packagist package flarum/core (< 1.8.0)
- Projects that depend on Packagist package flarum/framework (< 1.8.0)
- Anyone running flarum framework < 1.8.0
Vulnerability facts
- Affected
- flarum/core < 1.8.0; flarum/framework < 1.8.0
- Fixed in
- 1.8.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 39, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist flarum/core | < 1.8.0 | 1.8.0 | osv |
| Packagist flarum/framework | < 1.8.0 | 1.8.0 | osv |
| flarum framework | < 1.8.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-40033. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-40033.md Affected: flarum/core < 1.8.0; flarum/framework < 1.8.0 Fixed in: 1.8.0 Steps: 1. Search this machine and project for flarum/core (Packagist), flarum/framework (Packagist), flarum framework: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-40033 being exploited?
There is no confirmed exploitation: CVE-2023-40033 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-40033?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2023-40033?
flarum/core < 1.8.0; flarum/framework < 1.8.0.
Is there a fix for CVE-2023-40033?
Yes. Fixed in 1.8.0. Upgrade flarum/core to 1.8.0 or later. Upgrade flarum/framework to 1.8.0 or later.
How do I check if I'm affected by CVE-2023-40033?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.