CVE-2021-32822

MediumCVSS 5.3/10Last modified Jun 17, 2026

Description

The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.

Metrics

CVSS 3.1 5.3/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Aug 16, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-328233.7In the bindata RubyGem before version 2.4.10 there is a potential denial-of-service vulnerability. In affected versions it is very slow for CVE-2021-328249.8Apache Dubbo is a java based, open source RPC framework. Versions prior to 2.6.10 and 2.7.10 are vulnerable to pre-auth remote code executioCVE-2021-328259.1bblfshd is an open source self-hosted server for source code parsing. In bblfshd before commit 4265465b9b6fb5663c30ee43806126012066aad4 therCVE-2021-328268.1Proxyee-Down is open source proxy software. An attacker being able to provide an extension script (eg: through a MiTM attack or by hosting aCVE-2021-328279.6MockServer is open source software which enables easy mocking of any system you integrate with via HTTP or HTTPS. An attacker that can trickCVE-2021-328286.1The Nuxeo Platform is an open source content management platform for building business applications. In version 11.5.109, the `oauth2` REST CVE-2021-328299.9ZStack is open source IaaS(infrastructure as a service) software aiming to automate datacenters, managing resources of compute, storage, andCVE-2021-32837.5HashiCorp Nomad and Nomad Enterprise up to 0.12.9 exec and java task drivers can access processes associated with other tasks on the same noCVE-2021-328307.0The @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. ClieCVE-2021-328317.2Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python'CVE-2021-328326.5Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript. In Rocket.Chat before versions 3.11.3, 3.1CVE-2021-328338.6Emby Server is a personal media server with apps on many devices. In Emby Server on Windows there is a set of arbitrary file read vulnerabil
CVE-2021-32822: Medium severity, CVSS 5.3 | Vulnix