CVE-2023-2142

NameCVE-2023-2142
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1088331

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-nunjucks (PTS)sid, trixie, bookworm3.2.3+dfsg+~cs1.0.1-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-nunjuckssource(unstable)(unfixed)1088331

Notes

[bookworm] - node-nunjucks <no-dsa> (Minor issue)
https://bugzilla.mozilla.org/show_bug.cgi?id=1825980
https://github.com/mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmw

Search for package or bug name: Reporting problems