Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32818

7.7 · HIGH
Published May 14, 2021 haml-coffee_project CWE-79 EPSS 0.70% (51th pctl)

Overview

CVE-2021-32818 is a high-severity vulnerability affecting haml-coffee_project haml-coffee. It was published on May 14, 2021 and has a CVSS 3.1 base score of 7.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from haml-coffee_project. Update haml-coffee to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
haml-coffee_project haml-coffee 0 Affected

Frequently Asked Questions

What is CVE-2021-32818?

CVE-2021-32818 is a high-severity vulnerability affecting haml-coffee_project haml-coffee. It was published on May 14, 2021 and has a CVSS 3.1 base score of 7.7 (HIGH).

How severe is CVE-2021-32818?

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-32818?

Check the references section for vendor advisories and patches from haml-coffee_project. Update haml-coffee to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32818?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32818 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.