CVE-2026-32289
JsBraceDepth Context Tracking Bugs (XSS) in html/template
6.1
MEDIUM
CVSS 3.1
EPSS 0.01%
Description
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.
How to fix CVE-2026-32289
To remediate CVE-2026-32289, upgrade the affected package to a fixed version below.
- —upgrade to 1.25.9 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.25.9-1 or later
- —upgrade to 1.26.2-1 or later
- —upgrade to 1.25.9 or later
Is CVE-2026-32289 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 1.25.9, >= 1.26.0-0, < 1.26.2
- from 0
- from 0
- from 0
- from 0, < 1.25.9-1
- from 0, < 1.26.2-1
- from 0, < 1.25.9, >= 1.26.0-0, < 1.26.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |