CVE-2021-26120
PHP Code Injection by malicious function name in smarty
9.8
CRITICAL
CVSS 3.1
EPSS 75.6%
Description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
How to fix CVE-2021-26120
To remediate CVE-2021-26120, upgrade the affected package to a fixed version below.
- Debian/smarty3—upgrade to 3.1.39-1 or later
- Packagist/smarty/smarty—upgrade to 3.1.39 or later
Is CVE-2021-26120 being exploited?
Likely — EPSS is 75.6%, placing CVE-2021-26120 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- from 0, < 3.1.39-1
- from 0, < 3.1.39
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |