Read the docs
TI-2021-12483 Aliases CVE-2021-32818GHSA-m7mf-vm62-7x3q

Remote code execution and Reflected cross site scripting in haml-coffee

Priority LOW 35CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.007 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
netzpirathaml-coffeeup to 1.14.1—No fix listedCNA
—haml-coffee (npm)up to 1.14.1—No fix listedGHSA-m7mf-vm62-7x3q
  • haml-coffee Vendornetzpirat Affected up to 1.14.1 Fixed in — No fix listed CNA
  • haml-coffee (npm) Vendor— Affected up to 1.14.1 Fixed in — No fix listed GHSA-m7mf-vm62-7x3q

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:node.js:*:*up to 1.14.1VulnerableHaml-coffee Project
  • cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:node.js:*:* Versions up to 1.14.1 Vulnerable ·Haml-coffee Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32818
  2. 2026-10-03 Alias added: GHSA-m7mf-vm62-7x3q

References

Sources