
CVE catalog
CVE-2023-2142
node-nunjucks: CVE-2023-2142
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 25, 2026
In Nunjucks versions prior to version 3.2.4, it was possible to bypass the restrictions which are provided by the autoescape functionality. If there are two user-controlled parameters on the same line used in the views, it was possible to inject cross site scripting payloads using the backslash \ character.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-nunjucks | sid | 3.2.4+~cs4.2.7-4 | fixed |
| Debian | node-nunjucks | forky | 3.2.4+~cs4.2.7-4 | fixed |
| Debian | node-nunjucks | trixie | 3.2.4+~cs4.2.7-1 | fixed |
| Debian | node-nunjucks | bookworm | 3.2.3+dfsg+~cs1.0.1-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-nunjucks | source | sid | 3.2.4+~cs4.2.7-1 | not yet assigned | Not reported | [1088331] |
| Debian | node-nunjucks | source | forky | 3.2.4+~cs4.2.7-1 | not yet assigned | Not reported | [1088331] |
| Debian | node-nunjucks | source | trixie | 3.2.4+~cs4.2.7-1 | not yet assigned | Not reported | [1088331] |
| Debian | node-nunjucks | source | bookworm | (unfixed) | not yet assigned | Not reported | [1088331] |
Notes
[bookworm] node-nunjucks: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-nunjucks]Affected
Details (2)
3.2.3+dfsg+~cs1.0.1-3· all · bookwormAffected
dsa · node-nunjucks · debian · bookworm; dsa · node-nunjucks · debian · 12
3.2.3+dfsg+~cs1.0.1-3· all · bookwormAffected
dsa · node-nunjucks · debian · bookworm; dsa · node-nunjucks · debian · 12
[Debian 13 (Trixie)]
- [node-nunjucks]Fixed
Details (2)
3.2.4+~cs4.2.7-1· all · trixieFixed · Fixed:
3.2.4+~cs4.2.7-1dsa · node-nunjucks · debian · 13
3.2.4+~cs4.2.7-1· all · trixieFixed · Fixed:
3.2.4+~cs4.2.7-1dsa · node-nunjucks · debian · 13
Observed: