CVE-2021-32818
published high CVSS 3.1 · 7.7Remote code execution and Reflected cross site scripting in haml-coffee
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| netzpirat | — | haml-coffee<= 1.14.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| netzpirat | haml-coffee | <= 1.14.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79 Cross-site Scripting (XSS)
References
2Provider assertions
2GitHub_M · cna
Remote code execution and Reflected cross site scripting in haml-coffee
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d643b1e0ad4d67b2ed8550ecac0e18270078f4dad969914cb7d99b7021274d71
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record