Skip to content

chore: upgrade handlebars#1317

Open
pdp2121 wants to merge 1 commit intomainfrom
upgrade-handlebars
Open

chore: upgrade handlebars#1317
pdp2121 wants to merge 1 commit intomainfrom
upgrade-handlebars

Conversation

@pdp2121
Copy link
Copy Markdown
Collaborator

@pdp2121 pdp2121 commented Apr 20, 2026

High Level Overview of Change

Affected versions of handlebars are vulnerable to Improper Control of Generation of Code ('Code Injection') / Improper Encoding or Escaping of Output / Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). The Handlebars CLI precompiler allows arbitrary JavaScript injection by embedding unescaped template filenames and CLI option values such as --namespace, --commonjs, and --handlebarPath directly into generated output. An attacker who can control these inputs can cause malicious code to execute when the precompiled bundle is loaded in Node.js or a browser.

Severity: High

Current version: 4.7.8

Recommended fix version: 4.7.9

Context of Change

GHSA-xjpj-3mr7-gcpf

https://nvd.nist.gov/vuln/detail/CVE-2026-33941

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Translation Updates
  • Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants