Improper Neutralization of Special Elements Used in a Template Engine Affecting opencart/opencart package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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-OPENCARTOPENCART-7537060
  • published18 Jul 2024
  • disclosed17 Jul 2024
  • creditA3h1nt

Introduced: 17 Jul 2024

CVE-2024-40420  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

There is no fixed version for opencart/opencart.

Overview

opencart/opencart is a shopping cart system

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine in the edit theme functionality, which allows an authenticated admin user to execute arbitrary system commands, resulting in remote code execution. This happens due to lack of template sandboxing and blacklisting of potentially dangerous template content.

References

CVSS Scores

version 4.0
version 3.1