CVE-2023-2142Published Nov 26, 2024 · Nov 26Updated Oct 28
Nunjucks autoescape bypass leads to cross site scripting
Mozilla Nunjucks
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nunjucks npm |
|
|
Original description
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.
From the CVE record · mozilla