CVE-2021-32818
Last modified
CVE-2021-32818 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. haml-coffee is a JavaScript templating solution. haml-coffee mixes pure template data with engine configuration options through the Express render API. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haml-Coffee Project | Haml-Coffee | <= 1.14.1 |
References
- https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/Third Party Advisory
- https://www.npmjs.com/package/haml-coffeeExploit, Product
- https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/Third Party Advisory
- https://www.npmjs.com/package/haml-coffeeExploit, Product
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32818?
How severe is CVE-2021-32818?
How do I fix CVE-2021-32818?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32812Monkshu is an enterprise application server for mobile apps …6.1
- CVE-2021-32813Traefik is an HTTP reverse proxy and load balancer. Prior to…8.1
- CVE-2021-32814Skytable is a NoSQL database with automated snapshots and TL…8.1
- CVE-2021-32815Exiv2 is a command-line utility and C++ library for reading,…5.5
- CVE-2021-32816ProtonMail Web Client is the official AngularJS web client f…7.5
- CVE-2021-32817express-hbs is an Express handlebars template engine. expres…6.8
- CVE-2021-32819Squirrelly is a template engine implemented in JavaScript th…8.8
- CVE-2021-3282HashiCorp Vault Enterprise 1.6.0 & 1.6.1 allowed the `remove…7.5
- CVE-2021-32820Express-handlebars is a Handlebars view engine for Express. …8.6
- CVE-2021-32821MooTools is a collection of JavaScript utilities for JavaScr…7.5
- CVE-2021-32822The npm hbs package is an Express view engine wrapper for Ha…5.3
- CVE-2021-32823In the bindata RubyGem before version 2.4.10 there is a pote…3.7
Are you affected by CVE-2021-32818?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
