CVE-2021-32818

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

Configuration 1 (hide)

cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
References () https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/ - Third Party Advisory () https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/ - Third Party Advisory
References () https://www.npmjs.com/package/haml-coffee - Exploit, Product () https://www.npmjs.com/package/haml-coffee - Exploit, Product
CVSS v2 : 3.5
v3 : 5.4
v2 : 3.5
v3 : 7.7

12 Aug 2021, 18:06

Type Values Removed Values Added
CPE cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:*:*:* cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:node.js:*:*

19 May 2021, 14:54

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 3.5
v3 : 5.4
CPE cpe:2.3:a:haml-coffee_project:haml-coffee:*:*:*:*:*:*:*:*
References (MISC) https://www.npmjs.com/package/haml-coffee - (MISC) https://www.npmjs.com/package/haml-coffee - Exploit, Product
References (CONFIRM) https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/ - (CONFIRM) https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/ - Third Party Advisory

Information

Published : 2021-05-14 19:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32818

Mitre link : CVE-2021-32818

CVE.ORG link : CVE-2021-32818


JSON object : View

Products Affected

haml-coffee_project

  • haml-coffee
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')