{"url":"http://public2.vulnerablecode.io/api/packages/523688?format=json","purl":"pkg:npm/haml-coffee@1.4.9","type":"npm","namespace":"","name":"haml-coffee","version":"1.4.9","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54488?format=json","vulnerability_id":"VCID-q4sq-mtnc-wkc4","summary":"Cross-site Scripting\nhaml-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.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32818","reference_id":"","reference_type":"","scores":[{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.49032","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.48995","published_at":"2026-06-04T12:55:00Z"},{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.49056","published_at":"2026-06-05T12:55:00Z"},{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.49066","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.4905","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00255","scoring_system":"epss","scoring_elements":"0.49019","published_at":"2026-06-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32818"},{"reference_url":"https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee"},{"reference_url":"https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/","reference_id":"","reference_type":"","scores":[],"url":"https://securitylab.github.com/advisories/GHSL-2021-025-haml-coffee/"},{"reference_url":"https://www.npmjs.com/package/haml-coffee","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.npmjs.com/package/haml-coffee"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32818","reference_id":"CVE-2021-32818","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32818"},{"reference_url":"https://github.com/advisories/GHSA-m7mf-vm62-7x3q","reference_id":"GHSA-m7mf-vm62-7x3q","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-m7mf-vm62-7x3q"}],"fixed_packages":[],"aliases":["CVE-2021-32818","GHSA-m7mf-vm62-7x3q"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-q4sq-mtnc-wkc4"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/haml-coffee@1.4.9"}