# CVE-2023-40033: Server-Side Request Forgery via Avatar upload in flarum

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.55% (percentile 39, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-67c6-q4j4-hccg
- **Published:** 2023-08-16T20:34:11.445Z
- **Modified:** 2026-09-10T03:49:57.375Z

## 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

## 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

- Packagist `flarum/core`: affected \< 1.8.0; fixed 1.8.0 (osv)
- Packagist `flarum/framework`: affected \< 1.8.0; fixed 1.8.0 (osv)
- flarum framework: \< 1.8.0 (cvelist)

## Mitigation

- Upgrade flarum/core to 1.8.0 or later.
- Upgrade flarum/framework to 1.8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-40033>
- patch: <https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570>
- other: <https://github.com/flarum/framework>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-40033>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-67c6-q4j4-hccg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-40033> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-40033>
