CVE-2023-2142
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Mozilla Nunjucks
PublishedNov 26, 2024
First seenNov 26, 2024
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- mozilla nunjucks3.2.4 or later
- nunjucks3.2.4 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mozilla nunjucks | v < 3.2.4 | 3.2.4 |
| nunjucksnpm | v < 3.2.4 | 3.2.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.