Arbitrary file upload in Tinywebgallery

CVE-2023-53922

TinyWebGallery v2.5 contains a remote code execution vulnerability in the admin upload functionality that allows unauthenticated attackers to upload malicious PHP files. Attackers can upload .phar files with embedded system commands to execute arbitrary code on the server by accessing the uploaded file's URL.

Vulnerability class: Unrestricted File Upload

EPSS: 0.010 (58.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-53922?
CVE-2023-53922 is a critical-severity vulnerability in Tinywebgallery, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2025-12-17.
How severe is CVE-2023-53922?
Critical severity. CVSS v3 base score is 9.8 out of 10.