GitHub Advisoryadvisory · Packagist

GHSA-9m49-vhwv-422g Smarty PHP code injection

CRITICAL Published 2022-05-14 Modified 2024-04-24 Official page ↗
Aliases
CVE-2017-1000480
Ecosystem
Packagist
Packages
smarty/smarty
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2024-04-24

Affected packages

• Packagist smarty/smarty: >= 3, < 3.1.32 → fixed in 3.1.32

Description

Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.

Related

Alias · CVE (1)

  • CVE-2017-1000480 Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References