# GHSA-g9r4-xpmj-mj65: Prototype Pollution in handlebars

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-04T15:06:32.000Z
- Modified: 2026-09-10T03:49:13.649Z
- Weaknesses: CWE-1321

## Description

Versions of `handlebars` prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.


## Recommendation

Upgrade to version 3.0.8, 4.5.3 or later.

(As written by GitHub Advisory Database.)

## Affected

- handlebars (npm): before 3.0.8; from 4.0.0 before 4.5.3

## References

- <https://www.npmjs.com/advisories/1325> (web)

## Sources

- GitHub Advisory Database: [GHSA-g9r4-xpmj-mj65](https://github.com/advisories/GHSA-g9r4-xpmj-mj65), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-g9r4-xpmj-mj65 · Whole record: https://cve.day/GHSA-g9r4-xpmj-mj65.json · Rebuilt by cve.day 2026-11-25T22:56:45.412Z
