GHSA-m7mf-vm62-7x3q

Suggest an improvement
Source
https://github.com/advisories/GHSA-m7mf-vm62-7x3q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-m7mf-vm62-7x3q/GHSA-m7mf-vm62-7x3q.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m7mf-vm62-7x3q
Aliases
Published
2021-05-17T20:58:21Z
Modified
2023-11-01T04:55:31.757002Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Insecure template handling in haml-coffee
Details

haml-coffee is a JavaScript templating solution. haml-coffee mixes pure template data with engine configuration options through the Express render API. More specifically, haml-coffee supports overriding a series of HTML helper functions through its configuration options. A vulnerable application that passes user controlled request objects to the haml-coffee template engine may introduce RCE vulnerabilities. Additionally control over the escapeHtml parameter through template configuration pollution ensures that haml-coffee would not sanitize template inputs that may result in reflected Cross Site Scripting attacks against downstream applications. There is currently no fix for these issues as of the publication of this CVE. The latest version of haml-coffee is currently 1.14.1. For complete details refer to the referenced GHSL-2021-025.

Database specific
{
    "nvd_published_at": "2021-05-14T19:15:00Z",
    "github_reviewed_at": "2021-05-17T19:07:00Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / haml-coffee

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.14.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-m7mf-vm62-7x3q/GHSA-m7mf-vm62-7x3q.json"