Description
Thelia before 3.1.2 and 3.2.x before 3.2.1 contains an unrestricted file upload vulnerability that allows authenticated back-office users to upload PHP files by appending a trailing space to filenames. FileProcessorService validates the raw filename but FileManager::sanitizeFileName() strips the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user.
References7
- github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/S…
- github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9…
- github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f…
- github.com/thelia/thelia/releases/tag/3.1.2
- github.com/thelia/thelia/releases/tag/3.2.1
- github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9
- www.vulncheck.com/advisories/thelia-before-3.1.2-and-3.2-x-befo…
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
8.6
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 39 · as of 11 November 2026
- CWE
- CWE-434
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.