{"id":"DEBIAN-CVE-2023-2142","details":"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.","modified":"2026-09-15T09:00:25.576145238Z","published":"2024-11-26T12:15:18.307Z","upstream":["CVE-2023-2142"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-2142"}],"affected":[{"package":{"name":"node-nunjucks","ecosystem":"Debian:12","purl":"pkg:deb/debian/node-nunjucks?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.3+dfsg+~cs1.0.1-3","3.2.4+~cs4.2.7-1","3.2.4+~cs4.2.7-2","3.2.4+~cs4.2.7-3","3.2.4+~cs4.2.7-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-2142.json"}},{"package":{"name":"node-nunjucks","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-nunjucks?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.4+~cs4.2.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-2142.json"}},{"package":{"name":"node-nunjucks","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-nunjucks?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.4+~cs4.2.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-2142.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}