Red Hat VEX
RHVEX-CVE-2026-33916
handlebars.js: Handlebars: Cross-Site Scripting (XSS) via prototype pollution in partial resolution
Details
A flaw was found in Handlebars. The resolvePartial() function in the Handlebars runtime does not properly guard against prototype-chain traversal when resolving partial names. This allows an attacker to inject malicious code into web pages. When Object.prototype has been polluted with a string value that matches a partial reference, the polluted string is used as the partial body and rendered without proper HTML escaping. This can result in reflected or stored Cross-Site Scripting (XSS), potentially leading to arbitrary code execution in a user's browser or information disclosure.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | firefox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | thunderbird | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | firefox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | 389-ds-base | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | 389-ds-base-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | 389-ds-base-legacy-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | 389-ds-base-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | 389-ds-base-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | cockpit-389-ds | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | firefox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | grafana | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-azure-monitor | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-cloudwatch | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-elasticsearch | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-graphite | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-influxdb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-loki | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-mssql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-opentsdb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-postgres | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-prometheus | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-selinux | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | grafana-stackdriver | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | mozjs60 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | mozjs60-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-lib389 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | thunderbird | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | firefox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | firefox-x11 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | thunderbird | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-33916
- https://bugzilla.redhat.com/show_bug.cgi?id=2452509
- https://www.cve.org/CVERecord?id=CVE-2026-33916
- https://nvd.nist.gov/vuln/detail/CVE-2026-33916
- https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2qvq-rjwj-gvw9