BIT-handlebars-2021-32817

    Dashboard / Vulnerabilities / BIT-handlebars-2021-32817

    BIT-handlebars-2021-32817

    Published: 6 Mar 2024Last Modified: 8 Sept 2026

    Summary: File disclosure in express-hbs

    Details: express-hbs is an Express handlebars template engine. express-hbs mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities in downstream applications. This potential vulnerability is somewhat restricted in that only files with existing extentions (i.e. file.extension) can be included, files that lack an extension will have .hbs appended to them. For complete details refer to the referenced GHSL-2021-019 report. Notes in documentation have been added to help users of express-hbs avoid this potential information exposure vulnerability.

    Affected packages

    Package

    Name: handlebars

    Purl: pkg:bitnami/handlebars

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -5.3.3

    Affected versions

    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
    BIT-handlebars-2021-32817 | CVE-DB