Reliance on File Name or Extension of Externally-Supplied File Affecting mahocommerce/maho package, versions <25.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MAHOCOMMERCEMAHO-12671203
  • published15 Sept 2025
  • disclosed8 Sept 2025
  • creditd-xuan

Introduced: 8 Sep 2025

NewCVE-2025-58449  (opens in a new tab)
CWE-646  (opens in a new tab)

How to fix?

Upgrade mahocommerce/maho to version 25.9.0 or higher.

Overview

mahocommerce/maho is a Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

Affected versions of this package are vulnerable to Reliance on File Name or Extension of Externally-Supplied File via the file upload process. An attacker can execute arbitrary code on the server by uploading a malicious file with a .php extension through the custom option feature in product listings.

Note: This is only exploitable if the attacker is an authenticated staff user with both Dashboard and Catalog\Manage Products permissions.

References

CVSS Base Scores

version 4.0
version 3.1