CVE-2018-13982

    Dashboard / Vulnerabilities / CVE-2018-13982

    CVE-2018-13982

    Published: 18 Sept 2018Last Modified: 8 Jul 2026

    Summary:

    Details: Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    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