handlebars是一款语义化的Web模板系统。 Handlebars 4.7.8及之前版本存在安全漏洞,该漏洞源于Handlebars.compile函数对NumberLiteral AST节点的value字段处理不当,可能导致攻击者注入并执行任意JavaScript代码,引发服务器端远程代码执行。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| handlebars-lang | handlebars.js | >= 4.0.0, < 4.7.9 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| handlebars-lang | handlebars.js | >= 4.0.0, < 4.7.9 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
| CVE-2026-33941 | 8.3 HIGH | Handlebars.js has JavaScript Injection in CLI Precompiler via Unescaped Names and Options |
| CVE-2026-33938 | 8.1 HIGH | Handlebars.js has JavaScript Injection via AST Type Confusion by tampering @partial-block |
| CVE-2026-33940 | 8.1 HIGH | Handlebars.js has JavaScript Injection via AST Type Confusion when passing an object as dy |
| CVE-2026-33939 | 7.5 HIGH | Handlebars.js has Denial of Service via Malformed Decorator Syntax in Template Compilation |
| CVE-2026-33916 | 4.7 MEDIUM | Handlebars.js has Prototype Pollution Leading to XSS through Partial Template Injection |
No comments yet