GHSA-hwq7-5vv9-c6cf

    Dashboard / Vulnerabilities / GHSA-hwq7-5vv9-c6cf

    GHSA-hwq7-5vv9-c6cf

    Published: 16 Sept 2022Last Modified: 4 Nov 2025

    Summary: Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto

    Details: In Smarty before 3.1.47 and 4.x before 4.2.1, `libs/plugins/function.mailto.php` allows cross-site scripting. A web page that uses `smarty_function_mailto`, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.

    Affected packages

    Package

    Name: smarty/smarty

    Purl: pkg:composer/smarty/smarty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.47

    Affected versions

    v2.6.24
    v2.6.25
    v2.6.26
    v2.6.27
    v2.6.28
    v2.6.29
    v2.6.30
    v2.6.31
    v2.6.33

    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
    GHSA-hwq7-5vv9-c6cf | CVE-DB