{"id":"EUVD-2026-16848","revision":"918e91f7b5d0413483ff7766a967b3cd","records":[{"revision":"918e91f7b5d0413483ff7766a967b3cd","observedAt":"2026-11-01T06:04:57.799+00:00","statement":{"source":"euvd","id":"EUVD-2026-16848","aliases":["CVE-2026-33937","GHSA-2w6w-674q-4c4q"],"title":"Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, `Handlebars.compile()` accepts a pre-parsed AST object in addition to a template string. The `value` field of a `NumberLiteral` …","description":"Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, `Handlebars.compile()` accepts a pre-parsed AST object in addition to a template string. The `value` field of a `NumberLiteral` AST node is emitted directly into the generated JavaScript without quoting or sanitization. An attacker who can supply a crafted AST to `compile()` can therefore inject and execute arbitrary JavaScript, leading to Remote Code Execution on the server. Version 4.7.9 fixes the issue. Some workarounds are available. Validate input type before calling `Handlebars.compile()`; ensure the argument is always a  `string`, never a plain object or JSON-deserialized value. Use the Handlebars runtime-only build (`handlebars/runtime`) on the server if templates are pre-compiled at build time; `compile()` will be unavailable.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2w6w-674q-4c4q","https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2","https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-16848","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 27, 2026, 9:03:46 PM","dateUpdated":"Sep 4, 2026, 12:04:45 PM"},"relatedAdvisories":[{"id":"RHSA-2026:10175","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.27.1 Release.","vulnerabilityIds":["CVE-2025-61728","CVE-2025-62718","CVE-2026-2332","CVE-2026-4800","CVE-2026-4926","CVE-2026-22731","CVE-2026-25679","CVE-2026-26999","CVE-2026-27137","CVE-2026-27606","CVE-2026-29054","CVE-2026-32305","CVE-2026-32695","CVE-2026-33186","CVE-2026-33433","CVE-2026-33805","CVE-2026-33870","CVE-2026-33871","CVE-2026-33937","CVE-2026-33938","CVE-2026-33939","CVE-2026-33940","CVE-2026-33941","CVE-2026-34986","CVE-2026-40175"]},{"id":"msrc_CVE-2026-33937","title":"Handlebars.js has JavaScript Injection via AST Type Confusion","vulnerabilityIds":["CVE-2026-33937"]},{"id":"RHSA-2026:34342","title":"Red Hat Security Advisory: Cluster Observability Operator 1.5.0","vulnerabilityIds":["CVE-2020-7753","CVE-2021-33623","CVE-2024-4068","CVE-2024-45338","CVE-2024-52011","CVE-2025-22868","CVE-2025-22870","CVE-2025-22872","CVE-2025-47911","CVE-2025-58190","CVE-2026-1526","CVE-2026-1528","CVE-2026-2229","CVE-2026-4800","CVE-2026-4867","CVE-2026-6321","CVE-2026-6322","CVE-2026-6734","CVE-2026-9277","CVE-2026-9697","CVE-2026-12143","CVE-2026-12151","CVE-2026-25680","CVE-2026-25681","CVE-2026-29063","CVE-2026-32141","CVE-2026-33228","CVE-2026-33671","CVE-2026-33814","CVE-2026-33891","CVE-2026-33894","CVE-2026-33895","CVE-2026-33896","CVE-2026-33937","CVE-2026-33938","CVE-2026-33939","CVE-2026-33940","CVE-2026-33941","CVE-2026-39821","CVE-2026-42506","CVE-2026-48779"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-16848","identifiers":["EUVD-2026-16848","CVE-2026-33937","GHSA-2w6w-674q-4c4q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}