Bug 2548552 - CVE-2026-106445 yarnpkg: Handlebars: JavaScript Injection via Own Property Check Bypass [fedora-all]
Summary: CVE-2026-106445 yarnpkg: Handlebars: JavaScript Injection via Own Property Ch...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: yarnpkg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b8c9c1fb-fc31-4bd9-a7d7-a...
Depends On:
Blocks: CVE-2026-106445
TreeView+ depends on / blocked
 
Reported: 2026-10-09 12:29 UTC by Srikanth Balasubramanian
Modified: 2026-10-09 12:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-09 12:29:03 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars lookupProperty returns Function.prototype.constructor before applying the prototype-access deny list because constructor is an own property of Function.prototype. When an attacker can render a controlled template with allowProtoMethodsByDefault enabled and an accessible function in the template context, the template can traverse from that function through its prototype to Function.prototype and then obtain the Function constructor through the own-property bypass. This permits attacker-controlled JavaScript to execute with the server application's privileges. This issue is fixed in version 4.7.10.


Note You need to log in before you can comment on or make changes to this bug.