Live threats

All CVEs / Haml-coffee Project

CVE-2021-32818Haml-coffee Project Haml-coffee

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
Yes
Published
May 14, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Haml-coffee.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm haml-coffee ≤ 1.14.1 no fixed version —

Per OSV / GitHub Advisories (GHSA-m7mf-vm62-7x3q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
haml-coffee_projecthaml-coffee≤ 1.14.1

Official sources

References

Links published by the sources. Open them with care.