CVE catalog

CVE-2023-2142

node-nunjucks: CVE-2023-2142

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiannode-nunjuckssid3.2.4+~cs4.2.7-4fixed
Debiannode-nunjucksforky3.2.4+~cs4.2.7-4fixed
Debiannode-nunjuckstrixie3.2.4+~cs4.2.7-1fixed
Debiannode-nunjucksbookworm3.2.3+dfsg+~cs1.0.1-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-nunjuckssourcesid3.2.4+~cs4.2.7-1not yet assignedNot reported[1088331]
Debiannode-nunjuckssourceforky3.2.4+~cs4.2.7-1not yet assignedNot reported[1088331]
Debiannode-nunjuckssourcetrixie3.2.4+~cs4.2.7-1not yet assignedNot reported[1088331]
Debiannode-nunjuckssourcebookworm(unfixed)not yet assignedNot reported[1088331]

[Debian bug #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 · bookworm

      Affected

      dsa · node-nunjucks · debian · bookworm; dsa · node-nunjucks · debian · 12

    • 3.2.3+dfsg+~cs1.0.1-3 · all · bookworm

      Affected

      dsa · node-nunjucks · debian · bookworm; dsa · node-nunjucks · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 3.2.4+~cs4.2.7-1 · all · trixie

      Fixed · Fixed: 3.2.4+~cs4.2.7-1

      dsa · node-nunjucks · debian · 13

    • 3.2.4+~cs4.2.7-1 · all · trixie

      Fixed · Fixed: 3.2.4+~cs4.2.7-1

      dsa · node-nunjucks · debian · 13

Observed:

References