CVE-2021-21408

    Dashboard / Vulnerabilities / CVE-2021-21408

    CVE-2021-21408

    Published: 10 Jan 2022Last Modified: 8 Jul 2026

    Summary:

    Details: Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v3.1.42
    v3.1.41
    v3.1.40
    v3.1.39
    v3.1.38
    v3.1.37.1
    v3.1.37
    v3.1.36
    v3.1.35
    v3.1.34
    v3.1.33
    v3.1.32
    v3.1.31
    v3.1.30
    v3.1.29
    v3.1.28
    v3.1.27
    v3.1.26
    v3.1.25
    v3.1.24
    v3.1.23
    v3.1.21
    v3.1.20
    v3.1.19
    v3.1.18
    v3.1.17
    v3.1.16
    v3.1.15
    v3.1.14
    v3.1.13
    v3.1.12
    v3.1.11

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-21408 | CVE-DB