Medium severity · published Nov 26, 2024
CVE-2023-2142
In Nunjucks versions prior to version 3.2.4, it was possible to bypass the restrictions which are provided by the autoescape functionality
6.1
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NU
Nunjucks · Mozilla
before 3.2.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-2142
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-2142
Issue Tracking
https://bugzilla.mozilla.org/show_bug.cgi?id=1825980
Vendor Advisory
https://github.com/mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmw
More from Nunjucks
6.1
CVE-2016-10547
Nunjucks is a full featured templating engine for JavaScript
