ADVISORIES

GitHub Advisory Database

GHSA-62gr-4qp9-h98f

Regular Expression Denial of Service in Handlebars

Details

Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.

Affected packages

EcosystemPackageAffected versions
npmhandlebars
From 4.0.0 before 4.4.5 (fixed in 4.4.5)

References